Mysql 常见错误代码: 1064
2015-12-17 11:55
483 查看
错误提示:
错误代码: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'issplit = '1' where term = '00'' at line 1
原来的sql语句:
UPDATE tag SET msplit = '00' issplit = '1' WHERE term = '00'
经过检查之后发现时sql 语句写错了。
应该修改为:
UPDATE tag SET msplit = '00' ,issplit = '1' WHERE term = '00'
错误代码: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'issplit = '1' where term = '00'' at line 1
原来的sql语句:
UPDATE tag SET msplit = '00' issplit = '1' WHERE term = '00'
经过检查之后发现时sql 语句写错了。
应该修改为:
UPDATE tag SET msplit = '00' ,issplit = '1' WHERE term = '00'
相关文章推荐
- MySQL中的integer 数据类型
- MySQL存储过程
- mysql中int、bigint、smallint 和 tinyint的区别与长度
- mysql load data 导出、导入 csv
- source命令执行SQL脚本文件
- MySQL创建用户及权限控制
- MySQL管理数据表
- linux下mysql添加用户
- mysql procedure
- mysql触发器
- MySQL 备份和恢复策略
- mac下安装mysql(转载)
- mysql 修改编码 Linux/Mac/Unix/通用(杜绝修改后无法启动的情况!)
- MySQL数据的导出、导入(mysql内部命令:mysqldump、mysql)
- mysql数据行转列
- Linux下修改MySQL编码的方法
- MySQL Server 日志
- MySQL 安全事宜
- MySQL 备份与恢复