>Hello all,
>
>    We have installed a package in a client's
>place. Oracle 8.1.7 is the
>server version.
>Often it happens that the procedures become
>invalid. I want to know because
>of what reason some procedures become invalid.
>
>Thanks and Regards,
>Santosh
>

DDL against the objects the procedures depend on is usually the reason. Playing 
overenthusiastically with GRANT/REVOKE can also be a (less common) reason. Anything 
susceptible of modifying the execution plan can also be a culprit.
Check what your procedures depend on (DBA_DEPENDENCIES) and check the modification 
date for these objects in DBA_OBJECTS may give you a clue. Otherwise it may come from 
maintenance operations (I am not too sure about it, but I wouldn't be shocked if 
collecting statistics would invalidate procedures to force them to recompile on the 
fly and take advantage of new stats. It wasn't the case some versions ago but I 
*think* it has changed).

Regards,

Stephane Faroult
Oriole
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephane Faroult
  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