Solved

SSIS Package Transaction Integrity

Posted on 2006-11-07
2
272 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 75 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now