• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

SSIS Package Transaction Integrity

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
k_murli_krishna
Asked:
k_murli_krishna
1 Solution
 
Einstine98Commented:
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
 
k_murli_krishnaAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now