Stored proc exception handling query [message #41040] |
Wed, 20 November 2002 01:36 |
Bindu
Messages: 6 Registered: November 2002
|
Junior Member |
|
|
Hi,
When I run a stored procedure (Oracle 8.0) I get an error like,
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at "DTST_ID.NEW_TEST", line 12
ORA-06512: at line 1
But in the exception handling, SQLERRM gives me only 1 line i.e. ORA-01403: no data found. This does not give an exact picture of what went wrong. If I want all the reported lines to be taken in an "EXCEPTION" then how do I do that ?
Purpose = I want the "entire" error to be saved in a log file.
Oracle version = Oracle 8.0
|
|
|
|