当前位置:网站首页>Incorrect datetime value: '2022-01-01' for function str_to_date
Incorrect datetime value: '2022-01-01' for function str_to_date
2022-08-03 03:04:00 【The orange is not orange】
mysql encountered this problem during the insert into operation.
Incorrect datetime value: '2022-01-01' for function str_to_date
select str_to_date('2022-01-01', '%Y%m%d') fromdual;show warnings;
Execution result:
Reason: str_to_date('2022-01-01', '%Y%m%d')
does not match the format.
Solution: str_to_date('20220101', '%Y%m%d')
Summary: Either all -, or none of -, or other formats, in short, should be unified.
边栏推荐
- 暴力递归到动态规划 06 (剑指 Offer II 095. 最长公共子序列)
- IDEA基本使用-创建和删除项目
- ”QSqlDatabasePrivate::removeDatabase: connection ‘test-connect‘ is still in use“数据库多次打开报错
- VS Code 这么牛,再次印证了一句名言
- 扩展卡尔曼滤波【转】
- 复杂多层布局的初级智能文本提示器
- WRF-Chem模式调试、运行、结果后处理等遇到的各种问题
- PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)配置自动连接WIFI无线网络
- [@property enhancement in Objective-C language]
- 为什么要使用 playwright 做浏览器自动化测试?
猜你喜欢
大厂标配 | 百亿级并发系统设计 | 学完薪资框框涨
236. 二叉树的最近公共祖先
复杂多层布局的初级智能文本提示器
部门之间,互不信任正常吗?(你是否遇到过)
Violent recursion to dynamic programming 06 (the sword refers to Offer II 095. Longest common subsequence)
Topic Modeling of Short Texts: A Pseudo-Document View
The Multiversity 的 “非常重要的生命体” NFT 推出
initramfs详解-----初识initramfs
高并发基石:多线程、守护线程、线程安全、线程同步、互斥锁,一文扫尽!...
Violence recursion to dynamic programming 08 (pony go chess)
随机推荐
flask-socketio实现websocket通信
12-security退出.md
开发JSP应用的基础知识
[Arduino] Reborn Arduino Monk (3)----Arduino function
关于提高企业网络安全意识
LVS-NAT模式【案例实验】
【Arduino】重生之Arduino 学僧(3)----Arduino函数
MySQL删库不跑路
暴力递归到动态规划 06 (剑指 Offer II 095. 最长公共子序列)
.NET in-depth analysis of the LINQ framework (four: IQueryable, IQueryProvider interface details)
软件定义网络实验之SDN网络简单管理及开发
[NCTF2019]SQLi-1||SQL注入
The cornerstone of high concurrency: multithreading, daemon threading, thread safety, thread synchronization, mutual exclusion lock, all in one article!...
DJI内推码(2022年8月2日更新)
PHICOMM(斐讯)N1盒子 - recovery模式救砖卡登录页LOGO卡1%卡4%卡26%
Topic Modeling of Short Texts: A Pseudo-Document View
DTD约束和Schema约束
ssh(sshd)安全配置
项目管理到底管的是什么?
不想当Window的Dialog不是一个好Modal,弹窗翻身记...