ERROR 1292 (22007): Truncated incorrect DOUBLE value: 'asfsda1'

Posted elontian

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR 1292 (22007): Truncated incorrect DOUBLE value: 'asfsda1'相关的知识,希望对你有一定的参考价值。

mysql> UPDATE financial_sales_order SET ASSIGN_TIME = ‘2018-05-02 00:00:00‘ where CUSTOMER_ID=3541535;
ERROR 1292 (22007): Truncated incorrect DOUBLE value: ‘asfsda1‘
mysql> desc financial_sales_order;
+-------------------+--------------+------+-----+-------------------+-----------------------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+--------------+------+-----+-------------------+-----------------------------+
| CUSTOMER_ID | varchar(80) | YES | | NULL | |
+-------------------+--------------+------+-----+-------------------+-----------------------------+
29 rows in set (0.00 sec)

mysql> UPDATE financial_sales_order SET ASSIGN_TIME = ‘2018-05-02 00:00:00‘ where CUSTOMER_ID=‘3541535‘;
Query OK, 1 row affected (0.15 sec)
Rows matched: 1 Changed: 1 Warnings: 0

以上是关于ERROR 1292 (22007): Truncated incorrect DOUBLE value: 'asfsda1'的主要内容,如果未能解决你的问题,请参考以下文章

MySQL5.7 的 错误堆栈缓冲

Laravel9版本的CMS出现Invalid datetime format异常

Laravel9版本的CMS出现Invalid datetime format异常

带有消息“SQLSTATE [22007]”的未捕获异常“PDOException”:日期时间格式无效:1366 字符串值不正确

SQLSTATE[22007]:无效的日期时间格式:1366 字符串值不正确,html_entity_decode 函数

PostgreSQL:通过随机天数更改日期