Oracle® OLAP DML Reference 11g Release 1 (11.1) Part Number B28126-01 |
|
|
View PDF |
The CHARTOROWID function converts a value from a text data type to ROWID data type.
Return Value
ROWID
Syntax
CHARTOROWID(char)
Arguments
A text expression that you want to convert.
Examples
Example 7-43 Converting a Value from Text to a Rowid
Assume that your analytic workspace contains the erowid
dimension with the following definition.
DEFINE erowid DIMENSION ROWID
As the following code illustrates, you can add text values to it using the CHARTOROWID function.
MAINTAIN erowid ADD CHARTOROWID('AAAFd1AAFAAAABSAA/') REPORT erowid EROWID ------------------------------ AAAFd1AAFAAAABSAA/