I have list of stored procedure.
spr_name1
spr_name2
spr_name3
spr_name4
spr_name5
Now i want to run this stored procedures sequentially. How can we implement this ?
code side or database side ?
One more condition is there. If any exception occurred at spr_name3 then result of spr_name1 and spr_name2 should be rollback.
It's obvious that spr_name4 and spr_name5 will not run after exception occured.
Need help in this scenario.


Avikshith AradhyaRank #4,672 · 331 reputationPosted May 29, 2016, 10:29 PM EDT
Akshay PhadkeRank #161 · 14.6K reputationPosted May 29, 2016, 10:48 PM EDT
CREATE Proc TESTING
Avikshith AradhyaRank #4,672 · 331 reputationPosted May 29, 2016, 10:57 PM EDT
Akshay PhadkeRank #161 · 14.6K reputationPosted May 29, 2016, 11:00 PM EDT
Rahul ChavanRank #2,671 · 521 reputationPosted May 29, 2016, 11:04 PM EDT
Vivek ShethRank #1,278 · 1.4K reputationPosted May 29, 2016, 10:53 PM EDT
Akshay PhadkeRank #161 · 14.6K reputationPosted Jun 3, 2016, 3:40 AM EDT