Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第86节,mysql8 的 timestamp可以为空了 #8

Open
dyan0123 opened this issue Mar 3, 2023 · 1 comment
Open

第86节,mysql8 的 timestamp可以为空了 #8

dyan0123 opened this issue Mar 3, 2023 · 1 comment

Comments

@dyan0123
Copy link

dyan0123 commented Mar 3, 2023

问题描述

视频用的mysql5 里,timestamp不能为空,但 mysql8 可以为空。

问题发生在第几章第几节

视频截图如下:
1677847129851

mysql如下:
1677847151107

有解决办法么?

No response

测试用的Mysql版本

mysql8

@dyan0123
Copy link
Author

dyan0123 commented Mar 4, 2023

因为可以为空,所以插入时候,在select也可以显示null。
视频截图如下:
1677892558926

mysql 8 截图如下:
1677892740214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants