Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transcations and DTS Packages

Status
Not open for further replies.

smada80

Programmer
Joined
Feb 10, 2003
Messages
9
Location
GB
Hi all

I am using MS SQL Server DTS packages called from VB6 code to perform imports of data from text files. The problem I am having is that there are several packaages to perform the imports run one after another, but if one fails I need to whole thing to roll back. I have placed the calls to execute these packages in VB within a transaction but this is not working. If a package fails, that particular package rolls back but the previously executed ones do not!

Can anyone help? This would be much appreciated.

Cheers
Matt
Software Engineer
 
Can't you just create a package that calls the other packages - presumably then it would behave as any other package and rollback if any 'sub-package' fails.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top