Oracle® Database SQL Reference 10g Release 1 (10.1) Part Number B10759-01 |
|
|
View PDF |
CHARTOROWID
converts a value from CHAR
, VARCHAR2
, NCHAR
, or NVARCHAR2
datatype to ROWID
datatype.
This function does not support CLOB
data directly. However, CLOB
s can be passed in as arguments through implicit data conversion.
The following example converts a character rowid representation to a rowid. (The function will return a different rowid on different databases).
SELECT last_name FROM employees WHERE ROWID = CHARTOROWID('AAAFd1AAFAAAABSAA/'); LAST_NAME ------------------------- Greene