CHARTOROWID
chartorowid function converts a char, varchar2, nchar, or nvarchar2 to a rowid.
The format of CHARTOROWID is:
CHARTOROWID(value1)The format of the rowid is:
BBBBBBBRRRRFFFFFwhere:
BBBBBBBis the block in the database file;RRRRis the row in the block;FFFFFis the database file.
SQL> select chartorowid('AAABABAADAAAAAPAAA') from dual;
CHARTOROWID('AAABA
------------------
AAABABAADAAAAAPAAA
SQL>
select * from emp where rowid = chartorowid('AAABABAADAAAAAPAAA');