SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


oledb destination on error continue for next row


oledb destination on error continue for next row

Author
Message
obregonjose3
obregonjose3
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search