SELECT ASCII
The SELECT ASCII function is commonly used in combination with other SQL functions for operations such as data transformation, validation, and storing based on ASCII values.
Syntax
The following shows the syntax for the SELECT ASCII function:
SELECT ASCII('');
Returns
The SELECT ASCII function returns the ASCII code value of the leftmost character of a string.
Example
SELECT ASCII('hello');