ASCII('A') ASCII('Z') ASCII('A') ASCII('Z') ASCII('ABC') : ASCII « Char Functions « Oracle PL / SQL






ASCII('A') ASCII('Z') ASCII('A') ASCII('Z') ASCII('ABC')

 

SQL>
SQL>
SQL> select ascii('a'), ascii('z')
  2  ,      ascii('A'), ascii('Z')
  3  ,      ascii('ABC'), chr(77)
  4  from   dual;

ASCII('A') ASCII('Z') ASCII('A') ASCII('Z') ASCII('ABC') C
---------- ---------- ---------- ---------- ------------ -
        97        122         65         90           65 M

SQL>

   
  








Related examples in the same category

1.Ascii: Gives the ASCII value of the first character of a string
2.ASCII() returns the numeric value of the leftmost character of the string.