What is the difference between varchar and nvarchar types?



What is the difference between varchar and nvarchar types?..

Answer / anindya basu

The differences are as under:
a. While Varchar is an ASCII data type, nVarchar is a Unicode data type.
b. While Varchar takes 1 byte per character, Unicode takes 2 bytes per character.
c. While Varchar accepts only Ascii data, NVarchar accepts both Ascii and Unicode data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How to get the definition of a trigger back?

0 Answers  


Diffrences between sql server 2000 vs 2005

2 Answers   Thomson Reuters,


Explain about the command-line tool SQLCMD?

0 Answers  


How to Insert multiple rows with a single insert statement?

0 Answers  


How to grant a permission in ms sql server using "grant execute" statements?

0 Answers  






Can binary strings be used in arithmetical operations?

0 Answers  


Explain primary key, foreign key and unique key?

0 Answers  


What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?

0 Answers  


How do I shrink an ldf file?

0 Answers  


Find columns used in stored procedure?

0 Answers  


What area unit the various kinds of info compression introduced in sql server 2008?

0 Answers  


sql server syntax to add "!" sign to "name" field of "employee" table in a manner that all names have the same lenght of 20 characters

1 Answers  


Categories