SQL> SQL> SQL> select utl_raw.compare( '010203', '01020304', '04' ) from dual; UTL_RAW.COMPARE('010203','01020304','04') ----------------------------------------- 0 1 row selected. SQL> --