dbTalk Databases Forums  

Transactions in For Each Loop

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


Discuss Transactions in For Each Loop in the microsoft.public.sqlserver.dts forum.



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

Default Transactions in For Each Loop - 09-07-2008 , 10:34 PM






Hi

I have a For Each Loop that iterates over the nodes in an XML document. The
For Each Loop contains a Sequence Container that wraps all the actual
processing elements (data flows and Tasks). I need to set up the Loop so that
even if a row fails processing, either in the Tasks or Data Flow, it is
skipped and processing continues to the next row.

I have set the Transaction Option to Required on the Sequence Container.
This at least ensures that all the rows processed till the point the failure
occurs are not being rolled back. But the package fails after the first row
in error.

Can anyone tell me how to get this done. I am relatively new to SSIS and ETL
in general.

Thanks in advance
Vikas



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.