SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 difference between nchar and varchar datatype
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

230 Posts

Posted - 10/11/2012 :  13:59:52  Show Profile  Reply with Quote

I have always used both of them alternatively (nchar or varchar datatype) for columns with text values but I would like to know if there are any difference between them.

Almighty SQL Goddess

38160 Posts

Posted - 10/11/2012 :  14:05:14  Show Profile  Visit tkizer's Homepage  Reply with Quote
nchar supports unicode data and is fixed width.

varchar doesn't support unicode data and is variable length.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000