Home > DeveloperSection > Interviews > What is the difference between char , varchar and nvarchar?

Posted on    December-29-2013 10:46 PM

 C# C# 
Ratings:
 1 Answer(s)
  1173  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    December-29-2013 1:00 AM

char(n)Fixed length non unicode character data with length of n bytes.n must be a value from 1 through 8,000.

varchar(n)variable length non unicode character data with length of n bytes.

nvarchar(n)variable length unicode character data of n characters. n must be a value from 1 through 4,000.

Don't want to miss updates? Please click the below button!

Follow MindStick