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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:34:45
Original
853 people have browsed it

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 |
+------------+

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template