当前位置:网站首页>The time format is incorrect, and an error is reported when running the SQL file
The time format is incorrect, and an error is reported when running the SQL file
2022-04-23 06:52:00 【Collect and study by yourself】
The database time format uses datetime Format , This error is sent when the result is transferred , Because some data have no value to save 00-00-00 00:00:00, Wrong report , It's solved with this
set global sql_mode = 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
版权声明
本文为[Collect and study by yourself]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230555551631.html
边栏推荐
猜你喜欢
随机推荐
.NET跨平台原理(上篇)
1-2 JSX语法规则
JQ序列化后PHP后台解析
el-date-picker限制选择范围,从当前时间到两个月前
1-1 NodeJS
ASP.NET CORE3.1 Identity注册用户后登录失败的解决方案
Multi cycle verification of El form
JS手写兼容性事件绑定
js更改全部变量失败后改成return方法,终于解决解决问题
window环境下使用小皮面板安装redis
freeCodeCamp----prob_calculator练习
.NET Standard详解
Node模版引擎(ejs, art-template)
各进制数之间的互相转换
file_ get_ Two solutions to content accessing SSL errors
New features of ES6
数据可视化百度地图进一步优化
js中entries(),keys(),values() , some(), Object.assign()遍历数组用法
C# Task.Delay和Thread.Sleep的区别
TypeScript(上)