DA0-001 · Question #347
DA0-001 Question #347: Real Exam Question with Answer & Explanation
The correct answer is C: varchar. VARCHAR is a data type optimized for storing variable-length strings. It only uses the necessary space for each value, making it more efficient in terms of storage compared to CHAR, which allocates a fixed amount of space regardless of the string's actual length.
Question
A column is being used to store strings of variable lengths. Performance is a concern, so the column needs to use as little space as possible. Which of the following data types best meets these requirements?
Options
- Achar
- Bnchar
- Cvarchar
- Dnvarchar
Explanation
VARCHAR is a data type optimized for storing variable-length strings. It only uses the necessary space for each value, making it more efficient in terms of storage compared to CHAR, which allocates a fixed amount of space regardless of the string's actual length.
Topics
Community Discussion
No community discussion yet for this question.