Mega Code Archive
ASCII() returns the numeric value of the leftmost character of the string
SQL>
Syntax: ASCII()
SQL>
SQL>
SQL> SELECT
2 ASCII('A') uppercase_a,
3 ASCII('abc') lowercase_a from dual;
UPPERCASE_A LOWERCASE_A
----------- -----------
65.00 97.00
SQL>
SQL>