NCHAR and NVARCHAR
suggest changeIn SQL Server, these are Unicode string types of fixed or variable length. NVARCHAR(n) allows n from 1 to 4000. NVARCHAR(MAX) holds up to 2^31−1 bytes, not 8000 characters.
Syntax:
NCHAR [ ( n_chars ) ]
NVARCHAR [ ( n_chars | MAX ) ]
Use MAX when the string may exceed 4000 characters.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents