Description
Returns the number code of a character on the ASCII table ().
Sample Source Pattern
Syntax
Arguments
expression
: VARCVHAR
or CHAR
expression.
Return Type
INT
.
Examples
SELECT ASCII('A') AS A , ASCII('a') AS a;
A| a|
-----------+ ----------+
65| 97|