Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Identifying the executing PL/SQL procedure when an Oracle error occurs
Assign the proc name to a variable in the variable definitions:
ThisProc VARCHAR2(30) := 'Standalone_Proc';
Daniel Morgan
Ken Ho wrote:
> Is there a straightforward way to identify the executing PL/SQL
> procedure when an Oracle error occurs, i.e.,
> ENCLOSING_PKG.EXECUTING_PROCEDURE (or simply EXECUTING_STANDALONE_PROC
> if it were a standalone procedure which caused the Oracle error)?
>
> -Ken Ho
> hoke_at_gse.harvard.edu
Received on Wed Apr 03 2002 - 15:18:02 CST
![]() |
![]() |