Re: DBMS_APPLICATION_INFO

From: Svend Jensen <svend.SPAMKILLjensen_at_secret.dk>
Date: Thu, 23 Feb 2012 19:53:15 +0100
Message-ID: <4f468b1a$0$56796$edfadb0f_at_dtext02.news.tele.dk>



Hi

Besides the set_client_info, you have the set_module with two columns, module and action. I believe a clever combination could fit your needs. /Svend

> Hi,
>
> We are using DBMS_APPLICATION_INFO to help track which procedures are
> running. However, one issue we are having is when procedures call
> other procedures.
>
> For example, at the top of PROCEDURE_A we have this:
> DBMS_APPLICATION_INFO.SET_CLIENT_INFO('PROCEDURE_A');
>
> And at the end of PROCEDURE_A we have this:
>
> DBMS_APPLICATION_INFO.SET_CLIENT_INFO(null);
>
> Now, say PROCEDURE_A calls PROCEDURE_B, then PROCEDURE_B has:
> DBMS_APPLICATION_INFO.SET_CLIENT_INFO('PROCEDURE_B');
> .
> .
> DBMS_APPLICATION_INFO.SET_CLIENT_INFO(null);
>
> That wipes out the value and when control is returned to PROCEDURE_A,
> there is no value set anymore. So, this is great for a single
> procedure, but how can one integrate nested procedure calls and being
> able to use DBMS_APPLICATION_INFO more dynamically?
>
> Any thoughts or suggestions?
>
>
>
Received on Thu Feb 23 2012 - 12:53:15 CST

Original text of this message