I have a loop which executes a proc. That proc can throw RAISERROR which, of course, stops the loop and the whole program. Is there any way to ignore that error and continue the loop? In normal languages I can CATCH the error, but what is possible in Sybase T-SQL?
I found EXCEPTION section (similar to Oracle) and CONTINUE_AFTER_RAISERROR, but they are in Sybase IQ, not in ASE.
Any idea?