You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mkotsbak, the only problem I have with using DATETIME is that it requires 8 bytes instead of 4 bytes, but that's hardly a big deal and given the confusion dealing with TIMESTAMP it seems a perfectly acceptable trade-off.
Consider a table with the following two columns:
SHOW CREATE TABLE TableName
shows that the columns were created as follows:Neither of the two columns should have a default value or update the timestamp automatically.
The text was updated successfully, but these errors were encountered: