SQL> SQL> SQL> select utl_raw.substr( '0102030405', 3, 2 ) from dual; UTL_RAW.SUBSTR('0102030405',3,2) ---------------------------------------------------------------------------------------------------- 0304 1 row selected. SQL> --