SQL> select DBMS_ROWID.ROWID_ROW_NUMBER(RowID) 2 from dual; DBMS_ROWID.ROWID_ROW_NUMBER(ROWID)---------------------------------- 0SQL>