This will return the decimal representation in
the database character set of the first
character of the string.
Syntax: ascii (string)
Ex:
SQL> select ascii('a'), ascii('apple') from dual;
ASCII('A') ASCII('APPLE')
------------ ------------------
97 97
No comments:
Post a Comment