Truncated incorrect DOUBLE value: ‘是’
作者:互联网
0.背景
mybaits运行sql报错(update语句),发现也是基本(愚蠢)的错误。
>1292 – Truncated incorrect DOUBLE value: ‘是’
错误的SQL语句:
update contractor set approve = '是' and contract = '12314' WHERE Id = '04035';错误原因,and用法写错。
正确写法:
update contractor set approve = '是' , contract = '12314' WHERE Id = '04035';改成逗号就好了。
标签:incorrect,set,04035,DOUBLE,update,value,contractor,12314 来源: https://www.cnblogs.com/longkui-site/p/15859498.html