The ASCII function returns the ASCII code value of the leftmost character of the argument as an integer.
The result of the function is a large integer. If the argument can be null, the result can be null; if the argument is null, the result is the null value.
SELECT ASCII('A') FROM SYSIBM.SYSDUMMY1Returns the value 65.