ROWIDTOCHAR(x) converts the ROWID x to a VARCHAR2 string.
ROWIDTOCHAR(x)
ROWID
VARCHAR2
SQL> select ROWIDTOCHAR(chartorowid('AAABABAADAAAAAPAAA')) from dual; ROWIDTOCHAR(CHARTO ------------------ AAABABAADAAAAAPAAA SQL>