You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
2011-01-04 22:45
1366 查看
在使用MYSQL更新数据的时候出现
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 '=13' at line 1
解决方案--》最后执行查询的SQL语句应该是下面的样子:
SELECT *FROM renshiguanliWHERE GH=13
表名和关键字WHERE之间应该有空格的。
在WHERE之前加个空格试试。
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 '=13' at line 1
解决方案--》最后执行查询的SQL语句应该是下面的样子:
SELECT *FROM renshiguanliWHERE GH=13
表名和关键字WHERE之间应该有空格的。
在WHERE之前加个空格试试。
相关文章推荐
- MySql 执行语句错误 Err] 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
- 插入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
- 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
- ssh开发中插入数据时遇到 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
- java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- SQL Error: 1064, SQLState: 42000 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version