您好,欢迎来到步悠美食。
搜索
您的当前位置:首页utf-8-mysql找错,能够更新其他字段,只有describe更新失败

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

来源:步悠美食


utf-8mysqlsql

错误信息

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

Copyright © 2019- buun.com.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务