SQL> select rowid extended_format
2 , dbms_rowid.rowid_to_restricted(rowid, 0) restricted_format
3 , dbms_rowid.rowid_object(rowid) object
4 , dbms_rowid.rowid_relative_fno(rowid) file_no
5 , dbms_rowid.rowid_block_number(rowid) block_no
6 , dbms_rowid.rowid_row_number(rowid) row_number
7 from emp e
8 where empno = 7369;
EXTENDED_FORMAT RESTRICTED_FORMAT OBJECT FILE_NO BLOCK_NO ROW_NUMBER
------------------ ------------------ ---------- ---------- ---------- ----------
AAASwgAABAAAVyRAAA 00015C91.0000.0001 76832 1 89233 0
SQL> select dbms_rowid.rowid_type('AAASwgAABAAAVyRAAA') extended_format
2 , dbms_rowid.rowid_type('00015C91.0000.0001') restricted_format
3 from dual;
EXTENDED_FORMAT RESTRICTED_FORMAT
--------------- -----------------
1 0
SQL> select object_id, owner, object_name, subobject_name
2 from dba_objects
3 where data_object_id = 76832;
OBJECT_ID OWNER OBJECT_NAME SUBOBJECT_NAME
---------- ------------------------------ -------------------------------------------------------------------------------------------------------------------------------- ------------------------------
76832 SYS EMP
SQL> select file_id, file_name, tablespace_name
2 from dba_data_files
3 where relative_fno = 1;
FILE_ID
----------
FILE_NAME
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TABLESPACE_NAME
------------------------------
1
/oracle/oradata/INDEX/system01.dbf
SYSTEM
\*