NCHAR and NVARCHAR

suggest change

In 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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents