ASCII('A') ASCII('Z') ASCII('A') ASCII('Z') ASCII('ABC') : ASCII « Character String Functions « Oracle PL/SQL Tutorial






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>








11.2.ASCII
11.2.1.ASCII(x) gets the ASCII value of the character x
11.2.2.Ascii gives the ASCII value of the first character of a string
11.2.3.ASCII(0), ASCII(9)
11.2.4.select ascii('a'), ascii('z'),ascii('A'), ascii('Z'),ascii('ABC'), chr(77)
11.2.5.ASCII('A') ASCII('Z') ASCII('A') ASCII('Z') ASCII('ABC')