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
手工执行存储过程,报1364错误 #37
Comments
Did you restart the mysql service? |
Yep. MySql service has been restarted. Now, I found some possible way to resolve it: alter the column "not null" TO "null". It seems OK, but I don't know the risk |
Your method is OK. Another way is to set a default value for this "not null" column. Now we are checking all tables' structure to fix this problem. |
by the way: I have check out the sp"runsum()" , finding some thing hard to understand, please see below: line 6 ~ 11: |
Yes, it depends on mysql is set STRICT_MODE or not. Now we are working to define table structure strictly. |
Nice! Really expect the updating!!!!! |
手工依次执行:
call rundim();
call runfact('2012-12-20 15:00:00','2012-12-20 15:59:59');
call runsum('2012-12-20');
在runsum处,报:
SQL 错误 [1364] [HY000]: Field 'segment_sk' doesn't have a default value
Field 'segment_sk' doesn't have a default value
我已经将mysql的sql_mode改为:NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
The text was updated successfully, but these errors were encountered: