当前位置:网站首页>Field problems in MySQL
Field problems in MySQL
2022-07-03 13:44:00 【Forever HelloWorld】
mysql The field type in the database of is datetime, It is usually a normal time type , such as :2021-04-11 18:10:06 perhaps null, But sometimes when importing data, the value of this field will change to 0000-00-00 00:00:00, In this case, an error occurs in the query . This is because 0000-00-00 00:00:00 Special values are allowed in the database , But will be jvm Considered illegal .
terms of settlement :
1. Avoid this time in the database
2. Link in the database url Followed by &&zeroDateTimeBehavior=convertToNull
边栏推荐
- Flink SQL knows why (XIV): the way to optimize the performance of dimension table join (Part 1) with source code
- The latest BSC can pay dividends. Any B usdt Shib eth dividend destruction marketing can
- PowerPoint 教程,如何在 PowerPoint 中將演示文稿另存為視頻?
- [how to earn a million passive income]
- KEIL5出现中文字体乱码的解决方法
- Disruptor -- a high concurrency and high performance queue framework for processing tens of millions of levels
- Asp.Net Core1.1版本没了project.json,这样来生成跨平台包
- [how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]
- Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
- Libuv Library - Design Overview (Chinese version)
猜你喜欢
Detailed explanation of multithreading
TensorBoard可视化处理案例简析
Error running 'application' in idea running: the solution of command line is too long
106. 如何提高 SAP UI5 应用路由 url 的可读性
用户和组命令练习
[redis] cache warm-up, cache avalanche and cache breakdown
8皇后问题
Multi table query of MySQL - multi table relationship and related exercises
Mysql database basic operation - regular expression
Setting up remote links to MySQL on Linux
随机推荐
PowerPoint 教程,如何在 PowerPoint 中将演示文稿另存为视频?
STM32 and motor development (from MCU to architecture design)
Unable to stop it, domestic chips have made another breakthrough, and some links have reached 4nm
The reasons why there are so many programming languages in programming internal skills
父亲和篮球
太阳底下无新事,元宇宙能否更上层楼?
栈应用(平衡符)
HALCON联合C#检测表面缺陷——HALCON例程autobahn
MySQL constraints
Unity render streaming communicates with unity through JS
71 articles on Flink practice and principle analysis (necessary for interview)
Universal dividend source code, supports the dividend of any B on the BSC
RichView TRVStyle ListStyle 列表样式(项目符号编号)
The network card fails to start after the cold migration of the server hard disk
Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)
JSP and filter
Stack application (balancer)
The shortage of graphics cards finally came to an end: 3070ti for more than 4000 yuan, 2000 yuan cheaper than the original price, and 3090ti
mysql中的字段问题
IBEM mathematical formula detection data set