Skip Headers
Oracle® OLAP DML Reference
11g Release 2 (11.2)

Part Number E17122-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

CHARTOROWID

The CHARTOROWID function converts a value from a text data type to ROWID data type.

Return Value

ROWID

Syntax

CHARTOROWID(char)

Parameters

char

A text expression 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/