If you are using SA 16 then you can use the new STACK_TRACE() function and related sa_stack_trace() procedure to get a stack trace of all of the the calls in the current stack. answered 28 May '13, 10:51 Mark Culp |
For SQL Anywhere 16, see section "9. TRY CATCH And Friends" in Top 10 Cool New Features in SAP Sybase SQL Anywhere 16. For SQL Anywhere 12 and earlier, see TRACEBACK(). answered 28 May '13, 14:20 Breck Carter |