Hi

I just created last week.

package:

set pagesize 1000;
set heading off;
select 'alter '||object_type||'  '||owner||'.'||object_name||' compile;'
from dba_objects
where status='INVALID'
and object_type <> 'PACKAGE BODY';

package body:

set pagesize 1000;
set heading off;
select 'alter package '||owner||'.'||object_name||' compile body;'
from dba_objects
where status='INVALID'
and object_type ='PACKAGE BODY';


Mitchell

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 1:20 PM


> Group,
> Does anyone have some SQL handy that will re-compile INVALID objects for a
> given user, that they would be willing to share??
>
>
> TIA
>
> Al Rusnak
> 804-734-8453
> [EMAIL PROTECTED]
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rusnak, George A.
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: mitchell
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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