finding the name of the current package.procedure [message #41470] |
Mon, 06 January 2003 08:02 |
vikas
Messages: 29 Registered: November 2001
|
Junior Member |
|
|
Hi ,
I m looking to add error handling where I can find out the procedure name of the erroneous procedure. It shld be something like
create or replace procedure my_proc
v_proc_name varchar2(30) ;
Begin
v_proc_name := SomeUtilityWhichGetsMeTheProcedureName;
.........
..........
Exception
WHEN OTHERS THEN
DBMS_OUTPUT.put_line ( v_proc_name ||' failed with message -->'||SQLERRM );
END;
Is there anyway I can find the proc name without having to hard-code it.
Many Thanks
|
|
|
|
|