To_UniChar( integer_expression )
Returns the Unicode character that has integer_expression as its ordinal representation. To_UniChar
behaves the same as the function Char( ASCII_code )
does for ASCII characters.
Example
select To_UniChar( 65 ) as TheChar
, DataLength( To_UniChar( 65 ) ) as LengthChar
Result set
TheChar |
LengthChar |
A |
2 |
The ASE function To_UniChar( x )
is equivalent to the MS SQL Server function NChar( x )
for values of x < 65536.