Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to get call stack?

Re: How to get call stack?

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Tue, 27 Jul 1999 12:42:29 GMT
Message-ID: <37a3a927.2735102@newshost.us.oracle.com>


A copy of this was sent to "Oleg Roshchin" <oleg_at_ca-ib.com> (if that email address didn't require changing) On Tue, 27 Jul 1999 11:53:25 +0400, you wrote:

>Hi all!
>
>How can I get call stack for any procedure or trigger?
>I assume it's possible because Oracle show this information
>in case of error.
>I need this information to write it in my own log-file,
>for example if my "before update trigger" is fired I need
>to know (and to write into my log-file) which procedure or
>another trigger called (or caused) this trigger execution.
>

dbms_utility.format_call_stack

returns this information

>Thanks in advance.
>
>Oleg
>Moscow,
>Russia
>oleg_at_ca-ib.com
>
>

--
See http://govt.us.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Tue Jul 27 1999 - 07:42:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US