How much storage space does DATETIME require?
Correct answer
C. 8 bytes
17 views
C. 8 bytes
17 views
A DATETIME value requires 8 bytes in MySQL versions before 5.6.4, which is the answer this question expects.
From MySQL 5.6.4 onwards the storage was reduced to 5 bytes plus up to 3 bytes for fractional seconds. For comparison, TIMESTAMP takes 4 bytes and DATE takes 3.
For more solved questions like this one, see Database Management Systems MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.