Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / DTS / July 2008

Tip: Looking for answers? Try searching our database.

SSIS: do not fail foreach loop if package fails?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
meska - 25 Jul 2008 08:30 GMT
Hi,

i have a foreach loop that loops through ADO recordset.

In that loop i have a execute package task (lets call it SubmitData), which
executes another package.

If at one iterration package SubmitData fails, foreach loop would continue?
Because now it fails after first packages failure?

I though tat using FailParentOnFailure would help - but no. I do not want to
increase maximum error count, as in foreach loop i migh have as many as 10
000 records ( or even more). I simply want that execution of foreach would
loop through all records in recordset, despite the output of SubmitData
package. How can i do that?
Todd C - 25 Jul 2008 13:37 GMT
Look for the property ForceExecutionResult (Under Misc category).

You can set the task to always report to its parent container that it
succeeded, regarless of what actually happened inside it.

HTH
Signature

Todd C

[If this response was helpful, please indicate by clicking the appropriate
answer at the bottom]

> Hi,
>
[quoted text clipped - 11 lines]
> loop through all records in recordset, despite the output of SubmitData
> package. How can i do that?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.