Getting variable bytes for ORACLE database