dbTalk Databases Forums  

How to: Rollback all steps on failure of any step

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to: Rollback all steps on failure of any step in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ric
 
Posts: n/a

Default How to: Rollback all steps on failure of any step - 04-26-2006 , 04:07 PM






I have a DTS package that reads from a staging table. A series of SQL tasks
update a number of tables in the database. The last step truncates the
staging table, making it ready for new records. If this step (the truncate)
fails I want all the updates performed by the preceeding SQL tasks rolled
back.

Is this possible?

Thanks!

Ric

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: How to: Rollback all steps on failure of any step - 04-26-2006 , 04:39 PM






This might help you then

http://groups.google.com/group/micro...04ff5f36c75773

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Ric" <Ric (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a DTS package that reads from a staging table. A series of SQL
tasks
update a number of tables in the database. The last step truncates the
staging table, making it ready for new records. If this step (the
truncate)
fails I want all the updates performed by the preceeding SQL tasks rolled
back.

Is this possible?

Thanks!

Ric



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.