Hi,
I am getting error as below while inserting multiple records in table
Code : INSERT INTO Management.Depa rtments(Departm entCode, Name)
VALUES(N'ITEC', N'Information Technology'),
(N'PRSN', N'Personnel');
Error code : Msg 102, Level 15, State 1, Line 3 Incorrect syntax near ','.
My MS SQL server version is:-
Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86)
Dec 10 2010 10:56:29
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 6.1 (Build 7601: Service Pack 1)
compatibility level 90
Please help me that why I am not able to insert multiple records and how this problem can be solved?
I am getting error as below while inserting multiple records in table
Code : INSERT INTO Management.Depa rtments(Departm entCode, Name)
VALUES(N'ITEC', N'Information Technology'),
(N'PRSN', N'Personnel');
Error code : Msg 102, Level 15, State 1, Line 3 Incorrect syntax near ','.
My MS SQL server version is:-
Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86)
Dec 10 2010 10:56:29
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 6.1 (Build 7601: Service Pack 1)
compatibility level 90
Please help me that why I am not able to insert multiple records and how this problem can be solved?
Comment