Mega Code Archive

 
Categories / PostgreSQL / String Functions
 

Ascii(s)

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=#