Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

oledb destination on error continue for next row Expand / Collapse
Author
Message
Posted Friday, July 26, 2013 8:42 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Friday, December 06, 2013 10:37 AM
Points: 83, Visits: 73
Hi everybody

I need some advice about this:

I have a DataFlowTask, wich contains a OleDbSource connected to a sql server table and a OleDbDestination also connected to sql server table. The Ole DB Source will extract around 3 millions records. The Ole DB Destination is replicated 2 times. The first ole db destination is configured for "Maximum insert commit size" to 100; "Row per batch" to 10; a "Error output" configured to "Ole Db Destination Input" --> "Redirect row"; then "Ole Db Destination error output" connected to the next "Ole DB Destination", which the unique difference is "Maximum insert commit size" to 1; "Row per batch" to 1.

For some reason some rows have some error, I need the next correct row continues for inserting, but capturing the error for previous row error. At this moment the ole DB Destination is broken when comes the first rows with error.

Some suggestions

Thanks
Post #1478048
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse