Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SSIS Package Transaction Integrity

Posted on 2006-11-07
2
Medium Priority
?
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how the fundamental information of how to create a table.

609 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