ascii({char})

Returns UTF-8 numeric value of the specified character. Returns null if {n} is null.

Example 

This example returns the ASCII value for the letter “a.”

1SELECT ASCII('C') as "asciiValue"
2FROM "Superstore"
3LIMIT 1;
asciiValue
67