Standard SQL - CHAR for ASCII

Using standard SQL, SQL-92, how can I convert a character to an ASCII value?

In MySQL, it is easy to use the ascii () function, but SQL-92 does not.

+5
source share
2 answers

the SQL-92 standard does not mention ASCII at all.

As you say, each RDBMS provider will have its own implementation of how to convert char → ascii and ascii → char.

Most call this feature ASCII().

+5
source

All Articles