Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

UCASE function [String] Next Page

UNICODE function [String]

Returns an integer containing the Unicode code point of the first character in the string, or NULL if the first character is not a valid encoding.


UNICODE( nchar-string-expression )


nchar-string-expression    The NCHAR string whose first character is to be converted to an integer.

See also
Standards and compatibility

The following example returns the integer 65536:

SELECT UNICODE(UNISTR( '\u010000data' ));