September 2000
Intermediate to advanced
418 pages
11h 5m
English
| ROWIDTOCHAR |
ROWIDTOCHAR(rowid) |
Converts a ROWID value to a character string.
The following example uses the ROWIDTOCHAR function to explicitly convert a ROWID value to a character string:
SQL> SELECT ROWID, ROWIDTOCHAR(ROWID) FROM dual; ROWID ROWIDTOCHAR(ROWID) ------------------ ------------------ AAAADCAABAAAAVUAAA AAAADCAABAAAAVUAAA
As this example shows, ROWID values are implicitly converted to character strings whenever you select them from a table using SQL*Plus. For this reason, you often see SELECT statements that retrieve ROWIDs, but that do not explicitly convert them.
Read now
Unlock full access