Oracle® OLAP DML Reference 11g Release 2 (11.2) Part Number E17122-07 |
|
|
PDF · Mobi · ePub |
The ASCII function returns the decimal representation of the first character of an expression.
INTEGER
ASCII (text-exp)
A text expression.
OLADM1517Returning EBCDIC Values
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
OLADM1518Example 7-24 Finding the ASCII Decimal Equivalent of a Character
The following example returns the ASCII decimal equivalent of the letter "Q".
SHOW ASCII('Q') 81