Advertisement

03.01.2006 at 01:59PM PST, ID: 21757049
[x]
Attachment Details

Transactions DTS Package (EM); Rollback actual work, but commit diagnostic info

Asked by geekboysteves in MS SQL Server

Tags: dts, rollback, package

I am helping with a large DTS package in SQL Server 2000.  It does many updates and inserts.  If we treat it as one big transaction using “[x] Join transaction if present” in the workflow properties of the tasks, the package undoes its updates and inserts when a step fails.

Perfect!  Transactions!  Love ‘em!

But, we need to allow the package to log its progress to a SQL table as it goes through its many, many steps.

Question: How to allow it to actually write to our diagnostic table, while rolling back all the work it did on the real user tables up to the step that failed?

We don’t have access to the application error log on the server.

We are using the DTS Designer in the Enterprise Manager.

The package is pretty much done except for this minor detail.

Thanks!
Start Free Trial
 
Loading Advertisement...
 
[+][-]03.01.2006 at 03:48PM PST, ID: 16080635

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS SQL Server
Tags: dts, rollback, package
Sign Up Now!
Solution Provided By: acperkins
Participating Experts: 1
Solution Grade: B
 
 
[+][-]03.02.2006 at 05:19AM PST, ID: 16084309

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.02.2006 at 06:18AM PST, ID: 16084764

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.02.2006 at 06:08PM PST, ID: 16091202

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.02.2006 at 06:09PM PST, ID: 16091206

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.02.2006 at 06:55PM PST, ID: 16091403

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.03.2006 at 04:25PM PST, ID: 16100118

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.03.2006 at 04:29PM PST, ID: 16100258

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2006 at 03:23PM PST, ID: 16105427

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32