ASCII function gives the ASCII value of the first character of a string.
The general format for this function is:
ASCII(string)
SQL> SQL> SELECT ASCII('test') FROM dual 2