SQL> SQL> create table t ( r raw(10) ); Table created. SQL> SQL> SQL> insert into t values ( utl_raw.cast_to_raw('helloWorld' ) ); 1 row created. SQL> SQL> select utl_raw.length(r), length(r)/2 from t; UTL_RAW.LENGTH(R) LENGTH(R)/2 ----------------- ----------- 10 10 SQL> SQL> SQL> drop table t; Table dropped. SQL>