欢迎选择我的课程,让我们一起见证您的进步~~
This default value is not allowed by default starting from 5.7. It is recommended to check the official website documentation.
It is recommended to use int to save time
What is your timestamp field type? ps: In addition, it was mentioned above that the int format is not optimal in all scenarios
Timestamp supports a limited year range, but occupies 2 bytes. Datetime can support 0000 to 9999, but occupies 4 bytes
This default value is not allowed by default starting from 5.7. It is recommended to check the official website documentation.
It is recommended to use int to save time
What is your timestamp field type?
ps: In addition, it was mentioned above that the int format is not optimal in all scenarios
Timestamp supports a limited year range, but occupies 2 bytes. Datetime can support 0000 to 9999, but occupies 4 bytes