首页 > 数据库技术 > 详细

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'

时间:2020-03-21 21:51:13      阅读:73      评论:0      收藏:0      [点我收藏+]

随笔,记录错误!

技术分享图片

 

错误提示: 

> 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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!