Execute multiple statement in SQL procedure
How to, I write and execute multiple statement in SQL procedure.
2 Answers
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
Akkiraju IvaturiRank #473 · 5.3K reputationPosted Aug 24, 2012, 10:07 PM EDT
CREATE PROCEDURE PROCEDURENAME PARAMETERS AS BEGIN SELECT * FROM ABC SELECT * FROM DEF UPDATE TABLE TABLENAME SET .... INSERT INTO .... DELETE FROM ... :::: ::: ::: ::: ::: ANY NUMBER OF STATEMENTS CAN BE ADDED END If this is not your question, let me know and ask in precise what do you want to accomplish. That may help me to give you more clear answer.Vijay YadavRank #1,637 · 943 reputationPosted Sep 7, 2012, 3:09 AM EDT