当前位置:网站首页>Mysql:insert date:sql error [1292] [22001]: data truncation: incorrect date value:
Mysql:insert date:sql error [1292] [22001]: data truncation: incorrect date value:
2022-07-03 13:52:00 【Rookies fly first~】
operation :insert into table_test values (2021-01-01,9999-01-01)
problem : The field type is date, Also confirmed mysql Of date The format is : year - month - Japan
reason : I guess it's the default input method at the bottom
Solution : Change it to insert into table_test values (20210101,99990101)
Query results :2021-01-01 9999-01-01
Data insertion successful , Look forward to the explanation of the source code God
alike :datetime You also need to input continuously without symbols , for example :20210102122525

边栏推荐
- Record 405 questions about bank callback post request
- Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
- Kivy教程之 盒子布局 BoxLayout将子项排列在垂直或水平框中(教程含源码)
- Libuv Library - Design Overview (Chinese version)
- Halcon combined with C # to detect surface defects -- Halcon routine autobahn
- 刚毕业的欧洲大学生,就能拿到美国互联网大厂 Offer?
- [technology development-24]: characteristics of existing IOT communication technology
- pytorch 载入历史模型时更换gpu卡号,map_location设置
- Realize the recognition and training of CNN images, and process the cifar10 data set and other methods through the tensorflow framework
- RichView TRVStyle ListStyle 列表样式(项目符号编号)
猜你喜欢

Conversion function and explicit

MyCms 自媒体商城 v3.4.1 发布,使用手册更新

Go language unit test 3: go language uses gocovey library to do unit test

When updating mysql, the condition is a query

RichView TRVStyle ListStyle 列表样式(项目符号编号)

Qt学习25 布局管理器(四)

常见的几种最优化方法Matlab原理和深度分析
![[développement technologique - 24]: caractéristiques des technologies de communication Internet des objets existantes](/img/f3/a219fe8e7438b8974d2226b4c3d4a4.png)
[développement technologique - 24]: caractéristiques des technologies de communication Internet des objets existantes

Logback log sorting

SQL Injection (GET/Select)
随机推荐
Heap structure and heap sort heapify
Error handling when adding files to SVN:.... \conf\svnserve conf:12: Option expected
Open PHP error prompt under Ubuntu 14.04
Go 1.16.4: purpose of go mod tidy
软件测试工作那么难找,只有外包offer,我该去么?
The network card fails to start after the cold migration of the server hard disk
Brief analysis of tensorboard visual processing cases
掌握Cypress命令行选项,是真正掌握Cypress的基础
[技术发展-24]:现有物联网通信技术特点
Libuv Library - Design Overview (Chinese version)
静态链表(数组的下标代替指针)
MySQL installation, uninstallation, initial password setting and general commands of Linux
太阳底下无新事,元宇宙能否更上层楼?
[redis] cache warm-up, cache avalanche and cache breakdown
ThreadPoolExecutor realizes multi-threaded concurrency and obtains the return value (elegant and concise way)
Implementation of Muduo accept connection, disconnection and sending data
怎样删除对象的某个属性或⽅法
Comprehensive evaluation of double chain notes remnote: fast input, PDF reading, interval repetition / memory
Spark practice 1: build spark operation environment in single node local mode
Golang - command line tool Cobra