How much storage space does DATETIME require?

Options
- 4 bytes
- 2 bytes
- 8 bytes
- 1 byte


CORRECT ANSWER : 8 bytes

Discussion Board
Updated as of MySQL 5.6.4

As of MySQL 5.6.4, this has changed to 5 bytes + 0-3 bytes depending on how many fractional digits are stores (0=0 bytes, 1-2=1 byte, 3-4=2 bytes, 5-6=3 bytes).

Anton 04-28-2016 04:04 PM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement