Oracle® OLAP DML Reference 11g Release 2 (11.2) Part Number E17122-07 |
|
|
PDF · Mobi · ePub |
The CHARTOROWID function converts a value from a text data type to ROWID data type.
ROWID
CHARTOROWID(char)
A text expression to convert.
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/