当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
5.软件测试-----自动化测试
VS Code 这么牛,再次印证了一句名言
The Sandbox 市场平台将上线 Isla Obscura 第五期 NFT 作品集
复杂多层布局的初级智能文本提示器
软件定义网络实验之SDN网络简单管理及开发
The LVS load balancing cluster and the deployment of the LVS - NAT experiment
提高测试覆盖率的四大步骤
PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)基本配置
vs studio 安装opencv 环境
win下使用vscode+wsl2
10-security登录
如何备考PMP才能一次通过?
软件定义网络实验之自定义拓扑开发
【Flink】如何生成 Flink 作业的交互式火焰图?
XSS攻击
9-WebUtil工具类.md
开发JSP应用的基础知识
二叉树的前序遍历、中序遍历、后序遍历和层序遍历
236. The binary tree in recent common ancestor
JVM内部结构图及各模块运行机制总结









