RE: How can i receive name of the running procedure

2002-01-25 Thread Jacques Kilchoer
Title: RE: How can i receive name of the running procedure





> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> How can I select the name of the procedure, which is running.?
> I mean I am running a procedure and I want the name of the 
> pocedure to be inserted in a table.
>  Please help me with a simple pl/sql script on this.



Take a look at Steve Adam's website for the consulting company Ixora:
http://www.ixora.com.au/


There is a script to show executing procedures. Unfortunately it's not "simple".





RE: How can i receive name of the running procedure

2002-01-25 Thread Aponte, Tony
Title: RE: How can i receive name of the running procedure






Take a look at DBMS_UTILITY.FORMAT_CALL_STACK.  You can parse out the caller from the return value.  Here's a short example of an anonymous block:

DECLARE

stack_info VARCHAR2(4096);

BEGIN

stack_info:=DBMS_UTILITY.FORMAT_CALL_STACK;

DBMS_OUTPUT.PUT_LINE(stack_info);

END;



- PL/SQL Call Stack -

  object  line  object

  handle    number  name

c1b59734 4  anonymous block



HTH

Tony Aponte


-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Sent: Friday, January 25, 2002 1:07 PM

To: Multiple recipients of list ORACLE-L

Subject: How can i receive name of the running procedure



Hallo,


How can I select the name of the procedure, which is running.?

I mean I am running a procedure and I want the name of the pocedure to be inserted in a table.

 Please help me with a simple pl/sql script on this.


Thanks in advance



Roland S


-- 

Please see the official ORACLE-L FAQ: http://www.orafaq.com

-- 

Author: 

  INET: [EMAIL PROTECTED]


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051

San Diego, California    -- Public Internet access / Mailing Lists



To REMOVE yourself from this mailing list, send an E-Mail message

to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in

the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from).  You may

also send the HELP command for other information (like subscribing).





How can i receive name of the running procedure

2002-01-25 Thread Roland . Skoldblom

Hallo,

How can I select the name of the procedure, which is running.?
I mean I am running a procedure and I want the name of the pocedure to be inserted in 
a table.
 Please help me with a simple pl/sql script on this.

Thanks in advance


Roland S

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).