Hi All,
Unable to insert multiple records in SQL server 2005.
Command:
insert into emp (eno,ename,esex,eage,esal,dno) values (4,'Kat','M',40,40000,3),(5,'Mary','F',35,30000,5),(6,'Nancy','F',40,40000,6)
But, i am getting the below error message.
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near ','.
Pls help.
-Rgds,

Jaish MathewsRank #225 · 11K reputationPosted Jul 4, 2019, 4:46 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Jul 4, 2019, 3:18 AM EDT
Nagabhushana BsRank #8,839 · 215 reputationPosted Jul 4, 2019, 3:51 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Jul 4, 2019, 3:59 AM EDT
Basit KhanRank #4,768 · 326 reputationPosted Jul 8, 2019, 8:20 AM EDT
Siddhartha SharmaRank #2,254 · 626 reputationPosted Jul 11, 2019, 6:40 PM EDT
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 10, 2019, 7:03 AM EST
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Nov 10, 2019, 2:44 PM EST