Click here to Skip to main content
15,886,963 members
Articles / Database Development / SQL Server

Retrieving failed records after an SqlBulkCopy exception

Rate me:
Please Sign up or sign in to vote.
4.98/5 (18 votes)
19 Jun 2012CPOL5 min read 114.7K   27  
How to get a list of data rows that caused an exception (or several of them) in a SqlBulkCopy operation

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
Canada Canada
A developer that's been tinkering with computers since he first laid eyes on his buddy's Atari in the mid 80's and messed around with GWBasic and Logo. He now divides his time among his wife, kids, and evil mistress (a term lovingly [ahem...] given to his computer by the wife ...).

For more info, please see my LinkedIn profile: http://www.linkedin.com/pub/david-catriel/44/b01/382

Comments and Discussions