Ascii: Gives the ASCII value of the first character of a string : ASCII « Char Functions « Oracle PL / SQL






Ascii: Gives the ASCII value of the first character of a string

 


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


           
         
  








Related examples in the same category

1.ASCII() returns the numeric value of the leftmost character of the string.
2.ASCII('A') ASCII('Z') ASCII('A') ASCII('Z') ASCII('ABC')