March 24, 2013 at 2:10 pm
From my understanding nvarchar allows you to store more than one language compared to varchar. Does nvarchar only take up more space if more than one language is stored or does it reserve the extra space regardless?
March 24, 2013 at 3:18 pm
sstacy7 (3/24/2013)
From my understanding nvarchar allows you to store more than one language compared to varchar. Does nvarchar only take up more space if more than one language is stored or does it reserve the extra space regardless?
NVARCHAR takes 2 bytes per character no matter what language you use. In other words, yes... it always takes twice the space that VARCHAR does.
To add to that, using NVARCHAR to store numeric only data such as SSN's is a real waste of space.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2013 at 4:15 pm
thank you
March 24, 2013 at 7:08 pm
sstacy7 (3/24/2013)
thank you
You bet. Thank you for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy