Mega Code Archive

 
Categories / Oracle PLSQL / Char Functions
 

Ascii

SQL> SQL> SQL> --Ascii: Gives the ASCII value of the first character of a string. SQL> SQL> SELECT ASCII('first') FROM dual; ASCII('FIRST') --------------            102