NCHAR
string transform
What changes
- Input
- string arguments
- Output or change
- string or integer
- Return type
- nchar(1) when the default database collation does not support supplementary characters. nvarchar(2) when the default database collation supports supplementary characters. If the parameter integer_expr
Syntax at a glance
NCHAR ( integer_expression )
Work example
Create a Unicode character from a numeric code point.
Test Unicode, trailing spaces, collation, empty input, and maximum output length.
Check your work Validate the code point range and test supplementary-character behavior.
Open Microsoft Learn for full syntax, permissions, and details for your version.