A team is redesigning a SQL Server customer table that will store names from more than 40 countries, including languages that use Chinese, Arabic, and Cyrillic characters. Names can be up to 200 characters long, but most are under 50 characters. Which SQL string data type BEST satisfies the business requirements for international character support and keeps storage overhead low when the value is shorter than the maximum length?
The column must store multilingual text, so a Unicode-capable data type is mandatory. In SQL Server, the Unicode options are nchar and nvarchar.
nchar(200) allocates a fixed 200 characters (400 bytes) for every row, wasting space on shorter names.
nvarchar(200) is Unicode and variable-length; it stores only the bytes required for each value plus a small length indicator, so short names consume far less space.
char(200) and varchar(200) are non-Unicode in most collations (unless UTF-8 is explicitly enabled), so they cannot reliably hold Chinese or Arabic characters.
Therefore, nvarchar(200) is the best fit because it supports full Unicode and minimizes storage for values that are typically shorter than the declared maximum.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between char, varchar, nchar, and nvarchar in SQL?
Open an interactive chat with Bash
Why is Unicode important for storing multilingual text in SQL?
Open an interactive chat with Bash
What are some best practices when choosing string data types for database design?
Open an interactive chat with Bash
CompTIA Data+ DA0-002 (V2)
Data Concepts and Environments
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .