Home »
MCQs »
SQL MCQs »
SQL Data Types MCQs
What is the difference between nchar and nvarchar?
15. What is the difference between nchar and nvarchar?
- nchar is fixed and nvarchar is variable.
- nchar is variable and nvarchar is fixed.
- nchar has the maximum size of 4000 characters and nvarchar has the maximum size of 8000 characters.
- nchar has the maximum size of 800 characters and nvarchar has the maximum size of 4000 characters.
Answer: A) nchar is fixed and nvarchar is variable.
Explanation:
nchar is fixed and nvarchar is variable width Unicode string data type.