RAISE_APPLICATION_ERROR -- Suppress unwanted messages
Hi,
I have used raise_application_error(-20001,'No data found in database'); in my pl/sql block.
But when this is executed , i get following lines:
DECLARE
*
ERROR at line 1:
ORA-20001: No data found in database
ORA-06512: at line 35
Is there any way to suppress other messages coming from stack.
I just want to display: ORA-20001: No data found in database
Any help would be appreciated.
Thanks and Regards
Vinod.