?
Solved

SSIS Package Transaction Integrity

Posted on 2006-11-07
2
Medium Priority
?
311 Views
Last Modified: 2008-01-16
1) I created many data flow task packages.

2) Then a execute package task in which I ordered relationally execute above data flow packages.

3) What I find is when a package fails, it is rolled back, execution stops but not the packages before this failed one.

4) What to do to rollback all in case of error and commit only if all are successfully executed?
0
Comment
Question by:k_murli_krishna
2 Comments
 
LVL 12

Accepted Solution

by:
Einstine98 earned 225 total points
ID: 17893421
I'm not sure, but I think this beats the design objective... to me, a package is standalone, if it ran successfully, I wouldn't want it to roll back... so all the logic that needs the success/failure should be in one package... this way you can pickup from where you stopped, this is the only way to go when you do a few GB data load daily!
0
 
LVL 17

Author Comment

by:k_murli_krishna
ID: 17900162
There are execute package task and data flow task level transaction attributes & we tried them but we failed. Can you please post the exact name of these attributes and values to fix for them. Right now, each data flow task is event handled with suitable truncate table script for OnError.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question