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

Home -> Community -> Usenet -> c.d.o.server -> Re: Help. NT script required to recompile Oracle Objs, urgently !.

Re: Help. NT script required to recompile Oracle Objs, urgently !.

From: Mike Morgan <mmorgan1_at_mail.tds.net>
Date: Wed, 27 Oct 1999 01:35:49 GMT
Message-ID: <VFsR3.19$2P1.11205@ratbert.tds.net>


You could run this:

declare cursor c is

   select distinct owner from dba_objects     where object_type in('PACKAGE','PACKAGE BODY','PROCEDURE','FUNCTION'); begin

    for r in c loop
      dbms_utility.compile_schema(r.owner);    end loop;
end;
/

Jason Judge wrote in message
<7v5eq7$d70$1_at_nclient13-gui.server.virgin.net>...
>Isn't there a DBMS package with procedures in that will recompile entire
>schemas in one go? It should be as simple as SQL> execute
>dbms_???.compile_all (or something like that).
>
>Regards,
>
>Jason Judge
>
>
>
Received on Tue Oct 26 1999 - 20:35:49 CDT

Original text of this message

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