January 29, 2014 at 11:24 pm
Hi all,
I have a scenario in which if I do bulk insertion in a table and if any error occurs then insertion should not stopped and will proceed with insertion of remaining records.
Can we achieve this in sql?
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
January 30, 2014 at 2:06 pm
Use the MAXERRORS option and set it to a really high number.
January 30, 2014 at 2:15 pm
Adam Angelini (1/30/2014)
Use the MAXERRORS option and set it to a really high number.
And use an errorfile to find out what failed.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply