gpt4 book ai didi

php - sql注释错误

转载 作者:行者123 更新时间:2023-11-29 21:21:57 27 4
gpt4 key购买 nike

我通过 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

有人知道问题出在哪里吗?

最佳答案

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

关于php - sql注释错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35681927/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com