Is it possible to trap an error when it occurs in T-SQL and then continue with the statement ?
I have an insert statement that I would like to continue with the remaining records if fails on one (for example if one of the fields being inserted is the wrong data type).
Is this possible without going down the cursor route ?
Thanks
I have an insert statement that I would like to continue with the remaining records if fails on one (for example if one of the fields being inserted is the wrong data type).
Is this possible without going down the cursor route ?
Thanks