SQL Server NCHAR() Function
Example
Return the Unicode character based on the number code 65:
SELECT NCHAR(65) AS NumberCodeToUnicode;
Try it Yourself »
Definition and Usage
The NCHAR() function returns the Unicode character based on the number code.
Syntax
NCHAR(number_code)
Parameter Values
Parameter | Description |
---|---|
number_code | Required. The number code in the Unicode standard to return the character for. Must be an integer value between 0 and 65535. |
Technical Details
Works in: | SQL Server 2014, SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005 |
---|