Expand Minimize
This topic has not yet been rated - Rate this topic

UNICODE (SQL Server Compact)

Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.


UNICODE ( 'ncharacter_expression' ) 
'ncharacter_expression'

An expression whose type can be implicitly converted to nvarchar or ntext.

The following example returns the names of the companies together with the integer value, as defined by the Unicode standard, for the first character of each company name.

SELECT [Company Name], UNICODE([Company Name]) AS  Expr1
FROM Customers
ORDER BY [Company Name]
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.