View Full Version : difference between datatypes in sqlserver7.0
shree
10-05-2005, 06:50 AM
hi all,
i have one doubt regarding to sql server7.0 data types.
what is the difference between varchar and nvarchar.
thank you in advance.
Kid Charming
10-06-2005, 01:57 AM
NVARCHAR stores data in Unicode. You only get half the space of a regular VARCHAR, because you're using 2 bytes per character, but you can properly store characters that need 2 bytes.
shree
10-06-2005, 08:04 AM
thank you sir,
means the functionality is same. both are for same purpose, both will allow numbers and characters. am i right sir??
thanks alot.
shree
Kid Charming
10-06-2005, 04:41 PM
Yes, but NVARCHAR (and the other N types) also allows you to properly store 2-byte Unicode characters, like Greek, Turkish, etc. letters.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.