ERROR 1064 (42000): You have an error in your SQL syntax
2013-05-22 11:49
603 查看
mysql执行时报1064错误,目前发现俩种情况
第一:语句写错了
第二:把单引号误当反引号
第一:语句写错了
第二:把单引号误当反引号
库名,表名,字段名不用用单引号,用反单引号,也就是~,波浪线那个键上那个。 今天就在这犯浑了,半天没找到问题,希望下次不会了!本文出自 “流浪的牛” 博客,请务必保留此出处http://wjn219.blog.51cto.com/1497135/1206625
相关文章推荐
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual...
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- MySql建表时出错ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that correspond
- SQL Error: 1064, SQLState: 42000 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax;
- Error 1064(42000):you have an error in your sql syntax;一个简单的原因
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- SQL Error: 1064, SQLState: 42000 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve
- ERROR 1064 (42000): You have an error in your SQL syntax
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- my sql里面的1064错误——[Err] 1064 - You have an error in your SQL syntax;
- 插入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
- [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL s