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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Link procedure to sql statement in v$sqlarea - one comment

RE: Link procedure to sql statement in v$sqlarea - one comment

From: Alvaro Jose Fernandez <alvaro.fernandez_at_sivsa.com>
Date: Tue, 2 Oct 2007 22:14:35 +0200
Message-ID: <607D6181D9919041BE792D70EF2AEC48243398@LIMENS.sivsa.int>


...but best of all in my opinion is have the developers put the call to dbms_application_info.set_module at the very beginning of all procedures. This way v$sqlarea.module won't lie.  

I have a procedure named 'XYZ' and inside this procedure I have select statement. When I execute this procedure I can see a entry for procedure 'XYZ' and also a entry for select statement (which is actually inside procedure). How do I know if this select statement has come from this procedure or somebody else fired this statement as standalone (not using procedure)

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 02 2007 - 15:14:35 CDT

Original text of this message

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