DA0-001 · Question #347
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…
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
How the community answered
(44 responses)- A2% (1)
- C93% (41)
- D5% (2)
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.