What is the difference between varchar and nvarchar in SQL Server?

Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarchar is the choice.

Varchar stores ASCII data and should be your data type of choice for normal use.

Regarding memory usage, nvarchar uses 2 bytes per character, whereas varchar uses 1.

Add a Comment

Your email address will not be published. Required fields are marked *