Returns the integer ASCII value of the first byte in a string-expression.
ASCII( string-expression )
string-expression The string.
SMALLINT
If the string is empty, then ASCII returns zero. Literal strings must be enclosed in quotes. If the database character set is multibyte and the first character of the parameter string consists of more than one byte, the result is NULL.
SQL/2003 Vendor extension.
The following statement returns the value 90.
SELECT ASCII( 'Z' ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |