ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns the integer ASCII value of the first byte in a string-expression.
ASCII ( string-expression )
string-expression The string.
If the string is empty, then ASCII returns zero. Literal strings must be enclosed in quotes.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Compatible with Adaptive Server Enterprise.
The following statement returns the value 90.
SELECT ASCII( 'Z' )