导入数据库文件出错求大神解答
提示#1064-YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMySQLserverv...
提示#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 'I' at line 1
IF EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE name = N'asp_xkxt')
DROP DATABASE [asp_xkxt]
GO
CREATE DATABASE [asp_xkxt] ON (NAME = N'asp_xkxt_Data', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL\Data\asp_xkxt_Data.MDF' , SIZE = 1, FILEGROWTH = 10%) LOG ON (NAME = N'asp_xkxt_Log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL\Data\asp_xkxt_Log.LDF' , SIZE = 1, FILEGROWTH = 10%)
COLLATE Chinese_PRC_CI_AS
GO 展开
IF EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE name = N'asp_xkxt')
DROP DATABASE [asp_xkxt]
GO
CREATE DATABASE [asp_xkxt] ON (NAME = N'asp_xkxt_Data', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL\Data\asp_xkxt_Data.MDF' , SIZE = 1, FILEGROWTH = 10%) LOG ON (NAME = N'asp_xkxt_Log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL\Data\asp_xkxt_Log.LDF' , SIZE = 1, FILEGROWTH = 10%)
COLLATE Chinese_PRC_CI_AS
GO 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |