How to ignore RAISERROR in Sybase ASE-15 T-SQL?

147 Views Asked by At

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?

0

There are 0 best solutions below