首页 > 数据库 > mysql教程 > utf-8-mysql 找错 ,能够更新其他字段,只有describe更新失败

utf-8-mysql 找错 ,能够更新其他字段,只有describe更新失败

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-06 09:34:45
原创
833 人浏览过

utf-8mysqlsql

错误信息

mysql> update t_project_type set describe='aaa' where id='2';
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 'describe='aaa' where id='2'' at line 1

表信息

CREATE TABLE t_project_type (
id smallint(6) NOT NULL AUTO_INCREMENT,
typeName varchar(50) DEFAULT NULL,
projProp tinyint(4) DEFAULT NULL,
addTime char(19) DEFAULT NULL,
describe varchar(200) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

mysql 版本

mysql> select version();
+------------+
| version() |
+------------+
| 5.5.35-log |
+------------+

相关标签:
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板