| Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-02  | 
  | 
  | 
View PDF | 
rowidtochar::=
 ROWIDTOCHAR converts a rowid value to VARCHAR2 datatype. The result of this conversion is always 18 characters long.
The following example converts a rowid value in the employees table to a character value. (Results vary for each build of the sample database.)
SELECT ROWID FROM employees WHERE ROWIDTOCHAR(ROWID) LIKE '%SAAb%'; ROWID ------------------ AAAFfIAAFAAAABSAAb