在XAMPP上传.sql文件时出错

时间:2013-04-30 22:19:00

标签: sql phpmyadmin xampp

我正在尝试在XAMPP上传一个.SQL文件,但是我收到了一些错误。 文件的字符集:utf-8 格式:SQL SQL兼容模式:NONE

我知道我错过了一些大事。一开始就需要有一些问题。任何帮助将不胜感激。

代码如下所示。

USE [CEO3010]
GO
/****** Object:  Table [dbo].[ResAndroid]    Script Date: 04/21/2013 13:49:13 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[ResAndroid](
    [Enrollment] [varchar](8) NOT NULL,
    [Roll] [varchar](9) NOT NULL,
    [RNO] [varchar](10) NULL,
    [RollID] [varchar](13) NOT NULL,
    [Part] [nvarchar](1) NULL,
    [CAT] [tinyint] NOT NULL,
    [FirstName] [varchar](30) NULL,
    [LastName] [varchar](30) NULL,
    [ClassSID] [varchar](7) NULL,
    [ClassName] [nvarchar](113) NULL,
    [ExamID] [nvarchar](3) NULL,
    [ExamName] [nvarchar](50) NULL,
    [ClassResult] [varchar](200) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
INSERT [dbo].[ResAndroid] ([Enrollment], [Roll], [RNO], [RollID], [Part], [CAT], [FirstName], [LastName], [ClassSID], [ClassName], [ExamID], [ExamName], [ClassResult]) VALUES (N'07-4260', N'09MBI012', N'09MSCBI012', N'O1209MBI0121', N'1', 3, N'KAFIL', N'AHMAD', N'11MBI01', N'Master of Science in Bioinformatics Semester - 1', N'O12', N'Semester Examination Dec 2012', N'FAILED IN MBI106 (MB1.6)-[TM UEP IAP]; MBI107 (MB1.7)-[TM UEP IAP];  ')
INSERT [dbo].[ResAndroid] ([Enrollment], [Roll], [RNO], [RollID], [Part], [CAT], [FirstName], [LastName], [ClassSID], [ClassName], [ExamID], [ExamName], [ClassResult]) VALUES (N'07-4260', N'09MBI012', N'09MSCBI012', N'O1209MBI0121', N'1', 3, N'KAFIL', N'AHMAD', N'11MBI01', N'Master of Science in Bioinformatics Semester - 1', N'O12', N'Semester Examination Dec 2012', N'FAILED IN MBI106 (MB1.6)-[TM UEP IAP]; MBI107 (MB1.7)-[TM UEP IAP];  ')
INSERT [dbo].[ResAndroid] ([Enrollment], [Roll], [RNO], [RollID], [Part], [CAT], [FirstName], [LastName], [ClassSID], [ClassName], [ExamID], [ExamName], [ClassResult]) VALUES (N'07-4260', N'09MBI012', N'09MSCBI012', N'O1209MBI0121', N'1', 3, N'KAFIL', N'AHMAD', N'11MBI01', N'Master of Science in Bioinformatics Semester - 1', N'O12', N'Semester Examination Dec 2012', N'FAILED IN MBI106 (MB1.6)-[TM UEP IAP]; MBI107 (MB1.7)-[TM UEP IAP];  ')
and so on.........................

1 个答案:

答案 0 :(得分:0)

这不是与MySQL兼容的.sql脚本。