Hi
Can anyone tell me How to write optimized Insert Query(Used for Inline Query not stored procedure)?
Optimized Insert Query
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Dec 12, 2011, 6:31 PM EST
If you use the sql server 2008 then you can use the following.
INSERT INTO MyTable (FirstCol, SecondCol)
VALUES ('First',1),
('Second',2),('Third',3),('Fourth',4),('Fifth',5)