ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns a string containing a traceback of the procedures and triggers that were executing when the most recent exception (error) occurred.
TRACEBACK ( * )
This is useful for debugging procedures and triggers
SQL/92 Transact-SQL extension.
SQL/99 Transact-SQL extension.
Sybase Not supported by Adaptive Server Enterprise.
To use the traceback function, enter the following after an error occurs while executing a procedure:
SELECT TRACEBACK ( * )