We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NO_ZERO_IN_DATE
Please answer these questions before submitting your issue. Thanks!
set @@sql_mode = (select replace(@@sql_mode,'NO_ZERO_IN_DATE','')); set @@sql_mode = (select replace(@@sql_mode,'NO_ZERO_DATE','')); create table t (a datetime default '2999-00-00 00:00:00');
Query OK, 0 rows affected (0.04 sec)
ERROR 1067 (42000): Invalid default value for 'a'
master 53c5d6e4656658c0e844f62a3e1d2ece74d50671
53c5d6e4656658c0e844f62a3e1d2ece74d50671
The text was updated successfully, but these errors were encountered:
Marked , via : https://asktug.com/t/topic/69720/5
wait new version
Sorry, something went wrong.
Note: Make Sure that 'component', and 'severity' labels are added Example for how to fill out the template: #20100
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Query OK, 0 rows affected (0.04 sec)
3. What did you see instead (Required)
ERROR 1067 (42000): Invalid default value for 'a'
4. What is your TiDB version? (Required)
master
53c5d6e4656658c0e844f62a3e1d2ece74d50671
The text was updated successfully, but these errors were encountered: