not easily, but you could probably scan through x$kglob (frequently) and see if the 
name exists ... if it is, it means it was loaded for execution.

Another solution might be to modify old code and have them add a row in a separate 
table using autonomous transaction to indicate they got executed. Then wait for couple 
of months and it will give you some good idea.

Of course people who know more than I do will have better solutions.
Raj
--------------------------------------------------------------------------------
Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-----Original Message-----
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:19 AM
To: Multiple recipients of list ORACLE-L



Hi All,

Is there anyway to find out from data dictionary views when was a database
procedure/function last executed. Would like know the solution for  8i and
9i databases.  We have some older code in the databases and do not know if
any application is using it or not.

I appreciate your help.

Thanks & Best Regards,
Prasad
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jamadagni, Rajendra
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

Reply via email to