ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

The datatype that stores the longest length of strings is . . . . . . . .

Answer & Solution
Correct Answer: Option D
This question asks about the MySQL data type that can hold the longest strings. Let's break down the options:
Option A: CHAR - This type stores fixed-length strings, meaning you specify the maximum length when creating the column.
Option B: VARCHAR - This type stores variable-length strings, allowing you to specify the maximum length but using only the space needed for the actual data.
Option C: TINYTEXT - This type stores text strings up to 255 characters.
Option D: TEXT - This type stores text strings up to 65,535 characters.

Now, comparing the options, TEXT has the largest storage capacity for strings.
Therefore, the answer is Option D: TEXT.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.