dfwcharles
Technical User
Is it possible to run multiple Stored Procedures like a single transaction?
Example
in the Query Analyzer window I run this:
myproc '@p1','@p2,'@p3','@p4'
go
myproc '@p1','@p2,'@p3','@p4'
go
myproc '@p1','@p2,'@p3','@p4'
go
myproc '@p1','@p2,'@p3','@p4'
go
if one of these SP returns an error, I dont want the following SPs to run.
Any ideas?
Thanks
Charles
Example
in the Query Analyzer window I run this:
myproc '@p1','@p2,'@p3','@p4'
go
myproc '@p1','@p2,'@p3','@p4'
go
myproc '@p1','@p2,'@p3','@p4'
go
myproc '@p1','@p2,'@p3','@p4'
go
if one of these SP returns an error, I dont want the following SPs to run.
Any ideas?
Thanks
Charles