DBMS_ROWID.ROWID_TO_RESTRICTED(RowID,0)
SQL> select DBMS_ROWID.ROWID_TO_RESTRICTED(RowID,0) 2 from dual; DBMS_ROWID.ROWID_T ------------------ 00000822.0000.0001