What is the difference between varchar and nvarchar types?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is replace and stuff function in sql server?

563


Write a sql query to sort on different column name according to the parameters passed in the function?

530


How to list all field names in the result set using mssql_field_name()?

524


Is it possible in sql table to have more than one foreign key?

610


Can select statements be used on views in ms sql server?

580






Explain the relational database management system (rdbms)?

524


can we have a nested transaction? : Sql server database administration

499


Do you know the different ddl commands in sql?

591


Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?

853


what is isolation level at dead lock?

1748


How to download microsoft sql server 2005 express edition?

574


Is it possible for a stored procedure to call itself or recursive stored procedure?

504


how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A

1212


What are the components of sql server service broker?

507


When would you use a before or after trigger?

486