Hi, I have a allready a try catch block around my sql execution (T-SQL) code.
1) Now in case of an error the server writes something like "could not insert duplicate key..." etc. Now it would be a tremendous help to know which row gave the error i.e. by returning the ID or the data of the columns in question.
2) Think this will probably not work but ... furthermore is there a way to get all of the problematic rows in question?
1) Now in case of an error the server writes something like "could not insert duplicate key..." etc. Now it would be a tremendous help to know which row gave the error i.e. by returning the ID or the data of the columns in question.
2) Think this will probably not work but ... furthermore is there a way to get all of the problematic rows in question?
Comment