您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

Mysql语法错误之> 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near'

bubuko 2022/1/25 20:03:51 mysql 字数 1361 阅读 719 来源 http://www.bubuko.com/infolist-5-1.html

随笔,记录错误! 错误提示: > 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to u ...

随笔,记录错误!

技术分享图片

 

错误提示: 

> 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘),

  consumpiton_time date,

  create_time datetime,

  consumer_id int(11),

  ‘ at line 6

 

错误原因: at line6 一直以为是从列的第一行开始算的,找来找去没找到原因,double,float少用,写错了也没发觉

技术分享图片

 

 

 

所以我们还需仔细检查sql语句的语法

1) 结尾的标点符号,主要中英切换

2)类型名称,长度有没有写错

 

等等原因,,,

 

Mysql语法错误之> 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near'

原文:https://www.cnblogs.com/arsn/p/12541223.html


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶