sql注释错误

时间:2016-02-28 11:30:58

标签: php mysql sql

我通过phpmyadmin

从drupal站点导出这个sql
CREATE TABLE `admin_language` (
  `uid` int(10) UNSIGNED NOT NULL DEFAULT '0'COMMENT AS `Primary Key: Unique user ID.`,
  `language` varchar(12) NOT NULL DEFAULT ''COMMENT AS `User’s default administration language.`
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores user admin language selections.';

但是当我通过phpmyadmin导入到另一个mysql时,出现错误

    #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 'AS 
`Primary Key: Unique user ID.`, `language` varchar(12) NOT NULL DEFAULT ''' at 
line 2

任何人都知道这是什么问题?

1 个答案:

答案 0 :(得分:0)

更改评论的引用。从``到''