ascii(s): Returns the ascii code of the first character passed to it in character str : ascii « String Functions « PostgreSQL






ascii(s): Returns the ascii code of the first character passed to it in character str


postgres=#
postgres=# -- ascii(s): Returns the ascii code of the first character passed to it in character str
postgres=# SELECT ascii('T');
 ascii
-------
    84
(1 row)

postgres=#
           
       








Related examples in the same category

1.Using ascii() function