CHARTOROWID (extension)
Syntax
CHARTOROWID ( char_expression )
Description
The scalar function CHARTOROWID returns a ROWID contained in the input argument in character form.
Example
The following example shows the character-string format for a row identifier supplied as an argument to CHARTOROWID. In this example, the format for a row identifier is an integer (delimited as a character string by single quotes).
SELECT ROWID, FLD FROM SYSCALCTABLE;
ROWID FLD
----- ---
0 100
1 record selected
-- CHARTOROWID requires single quotes around its argument
SELECT * FROM SYSCALCTABLE WHERE ROWID = CHARTOROWID ('0');
FLD
---
100
1 record selected
Notes