Oracle® OLAP DML Reference 10g Release 1 (10.1) Part Number B10339-02 |
|
|
View PDF |
The ASCII function returns the decimal representation of the first character of an expression.
Return Value
INTEGER.
Syntax
ASCII (text-exp)
Arguments
A text expression.
Notes
When your database character set is 7-bit ASCII, then this function returns an ASCII value. When your database character set is EBCDIC Code, then this function returns an EBCDIC value. There is no corresponding EBCDIC character function
Examples
The following example returns the ASCII decimal equivalent of the letter "Q":
SHOW ASCII('Q') 81