Skip to content

NCHR

  • integer_expression: This parameter specifies the length for the NCHAR data type. Its value must be a valid integer from 1 through 4,000. The integer_expression references the number of Unicode characters that the NCHAR function will hold. This number does not vary according to the national character set.
SELECT NCHAR(9731) AS Snowflake_Icon;
Snowflake_Icon

This script uses the NCHAR function to convert the numeric value (9731) to a unicode character (☃) in SQL Server.