|
Question : On Error Resume Next
|
|
Hi All Expert,
I'm using cursor for process my table. When find an error on one record table the process will be exit from looping. How to give on error resume next at TSQL ?
Thank's a lot
|
|
Answer : On Error Resume Next
|
|
It depends on which version of SQL Server you are working, comparing SQL 6.x vs 7.x, the behaviour has changed... THe way i do this is that i handle all the "errors" first, and do the "good" jobs afterwards. I do not try to base my TSQL on errorhandling... Cheers
|
|
|
|