Monday, 3 September 2007

DBMS_UTILITY.FORMAT_ERROR_BACKTRACE

What a find! The problem with multiple statements in a pl/sql block is that when an error is caught in an exception you loose the exact line that caused the original error. In 10g you can now find out which line caused the original error by using

DBMS_UTILITY.FORMAT_ERROR_BACKTRACE

see http://www.quest-pipelines.com/newsletter-v5/0904_A.htm

for more detail

No comments: