Rollback from within a SQL Update script
599838Sep 25 2007 — edited Sep 26 2007Hi,
I have a very standard scenario to work on.
I have a master SQL Script that in turns call other SQL Scripts from within.
My question is, if say I have 5 scripts being called from within the master script and one of my scripts fail, then how do I write my master script so that it roll backs the updates done by the scripts executed before the failed script.
The scripts being called are update scripts like alter table
Hoping for a quick response
-AV