mysql: ERROR 1292 (22007): Truncated incorrect DOUBLE value:

赞赏 2017-03-19

一次mysql中更新字段 update user_order set uid=0 where uid = 100; 报错如下: ERROR 1292 (22007): Truncated incorrect DOUBLE value


方法

uid字段的类型是 varchar 

所以正确的语句是: update user_order set uid='0' where uid = '100';


登陆后阅读全文
阅读 2448 赞赏 0 有用 0 没用 0 收藏 0 分享

   


作者声明:本篇文章系本人原创,欢迎分享,但未经许可,谢绝转载。

0 条留言

相关文章

Ubuntu安装MySQL提示Depends: mysql-server-5.5 but it is not going

mysql-bin.00000* 文件误删删除导致mysql启动不起来

Linux screen 提示:There is no screen to be resumed matching

MySQL 上传报错#1064-You have an error in your SQL syntax

Linux 下 MySQL 无法访问的问题如何排查?

Linux下如何授权 MySQL 外网访问?

Linux系统如何查看 MySQL 版本号?

Ubuntu或Debian系统内如何卸载 MySQL 数据库服务?

MySQL误删除授权表 root 记录,无法登陆怎么办?

Linux 系统下 MySQL 如何开启慢查询?

他的文章

JAVA NIO 一步步构建I/O多路复用的请求模型

JAVA 中原生的 socket 通信机制

6款程序员必备的开源中文汉字拼音转换及处理工具 (PHP Java .net)

java如何获取网页标题title? (用htmlparser)

Tomcat9配置HTTP2的流程

快速上手 Kotlin 的 11 招

为什么我要改用Kotlin

比特币装逼指南

printf %8s %4s %-12s 这个数字是啥?

mysql: ERROR 1292 (22007): Truncated incorrect DOUBLE value:

手机扫一扫
分享文章