该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
mysql> describe wef_wall_content;
+------------+--------------+------+-----+-------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+-------------------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| wid | varchar(10) | YES | | NULL | |
| wxid | varchar(40) | YES | | NULL | |
| content | varchar(500) | YES | | NULL | |
| check | int(11) | YES | | 0 | |
| time | timestamp | YES | | CURRENT_TIMESTAMP | |
| name | varchar(30) | NO | | NULL | |
| ischeck | int(11) | YES | | NULL | |
| CompanyID | bigint(20) | YES | | NULL | |
| CreateTime | varchar(19) | YES | | NULL | |
+------------+--------------+------+-----+-------------------+----------------+
10 rows in set (0.00 sec)
mysql> alter table wef_wall_content drop column check;
ERROR 1064 (42000): 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 *check * at line 1
mysql> alter table "wef_wall_content" drop column check;
ERROR 1064 (42000): 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 *"wef_ wall_content" drop column check* at line 1
mysql> alter table *wef_wall_content* drop column check;
ERROR 1064 (42000): 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 **wef_ wall_content* drop column check* at line 1
mysql> alter table *wef_wall_content* drop column check int(11);
ERROR 1064 (42000): 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 **wef_ wall_content* drop column check int(11)* at line 1
mysql> alter table *wef_wall_content* drop column "check" int(11);
ERROR 1064 (42000): 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 **wef_ wall_content* drop column "check" int(11)* at line 1
各种都试过了,求大神解答帮助!!