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