Returns the numeric value of the leftmost character of the string str.
ASCII(<expr>)
<expr>
TINYINT
SELECT ASCII('2'); +------------+ | ASCII('2') | +------------+ | 50 | +------------+