Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: batch recompile invalid packages
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C07A5D.14DBCBF0
Content-Type: text/plain;
charset="iso-8859-1"
execute DBMS_UTILITY.COMPILE_SCHEMA('<schemaname>');
-----Original Message-----
From: Armstead, Michael A [mailto:maa25681_at_GlaxoWellcome.com]
Sent: Tuesday, January 09, 2001 10:41 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: batch recompile invalid packages
I hope this question is as simple as it sounds. Try this:
ALTER object-type object-name COMPILE;
Hope this helps.
Michael Armstead
Database Administrator, OCP-Certified
Corporate & Finance Information Systems
Glaxo SmithKline
> -----Original Message-----
> From: John Dunn [SMTP:john.dunn_at_sefas.co.uk]
> Sent: Tuesday, January 09, 2001 7:11 AM
> To: Multiple recipients of list ORACLE-L
> Subject: batch recompile invalid packages
>
> Is there a easy way for me to easily recompile all my packages, functions
> for a user etc without doing a create/replace
>
> John
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: John Dunn
> INET: john.dunn_at_sefas.co.uk
>
> 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: ListGuru_at_fatcity.com (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: Armstead, Michael A INET: maa25681_at_GlaxoWellcome.com 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: ListGuru_at_fatcity.com (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). ------_=_NextPart_001_01C07A5D.14DBCBF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: batch recompile invalid packages</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>execute = DBMS_UTILITY.COMPILE_SCHEMA('<schemaname>');</FONT> </P> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: Armstead, Michael A [<A = HREF=3D"mailto:maa25681_at_GlaxoWellcome.com">mailto:maa25681_at_GlaxoWellcome= .com</A>]</FONT> <BR><FONT SIZE=3D2>Sent: Tuesday, January 09, 2001 10:41 AM</FONT> <BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT> <BR><FONT SIZE=3D2>Subject: RE: batch recompile invalid packages</FONT> </P> <BR> <P><FONT SIZE=3D2>I hope this question is as simple as it sounds. Try = this:</FONT> </P> <P><FONT SIZE=3D2>ALTER object-type object-name COMPILE;</FONT> </P> <P><FONT SIZE=3D2>Hope this helps.</FONT> </P> <P><FONT SIZE=3D2>Michael Armstead</FONT> <BR><FONT SIZE=3D2>Database Administrator, OCP-Certified</FONT> <BR><FONT SIZE=3D2>Corporate & Finance Information Systems</FONT> <BR><FONT SIZE=3D2>Glaxo SmithKline</FONT> </P> <BR> <P><FONT SIZE=3D2>> -----Original Message-----</FONT> <BR><FONT SIZE=3D2>> From: John Dunn = [SMTP:john.dunn_at_sefas.co.uk]</FONT> <BR><FONT SIZE=3D2>> Sent: Tuesday, January 09, 2001 7:11 AM</FONT> <BR><FONT SIZE=3D2>> To: Multiple recipients of list = ORACLE-L</FONT> <BR><FONT SIZE=3D2>> Subject: batch = recompile invalid packages</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Is there a easy way for me to easily recompile = all my packages, functions</FONT> <BR><FONT SIZE=3D2>> for a user etc without doing a = create/replace</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> John</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> -- </FONT> <BR><FONT SIZE=3D2>> Please see the official ORACLE-L FAQ: <A = HREF=3D"http://www.orafaq.com" = TARGET=3D"_blank">http://www.orafaq.com</A></FONT> <BR><FONT SIZE=3D2>> -- </FONT> <BR><FONT SIZE=3D2>> Author: John Dunn</FONT> <BR><FONT SIZE=3D2>> INET: john.dunn_at_sefas.co.uk</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Fat City Network Services -- = (858) 538-5051 FAX: (858) 538-5051</FONT> <BR><FONT SIZE=3D2>> San Diego, = California -- Public Internet = access / Mailing Lists</FONT> <BR><FONT SIZE=3D2>> = --------------------------------------------------------------------</FO= NT> <BR><FONT SIZE=3D2>> To REMOVE yourself from this mailing list, send = an E-Mail message</FONT> <BR><FONT SIZE=3D2>> to: ListGuru_at_fatcity.com (note EXACT spelling = of 'ListGuru') and in</FONT> <BR><FONT SIZE=3D2>> the message BODY, include a line containing: = UNSUB ORACLE-L</FONT> <BR><FONT SIZE=3D2>> (or the name of mailing list you want to be = removed from). You may</FONT> <BR><FONT SIZE=3D2>> also send the HELP command for other = information (like subscribing).</FONT> </P> <P><FONT SIZE=3D2>-- </FONT> <BR><FONT SIZE=3D2>Please see the official ORACLE-L FAQ: <A = HREF=3D"http://www.orafaq.com" = TARGET=3D"_blank">http://www.orafaq.com</A></FONT> <BR><FONT SIZE=3D2>-- </FONT> <BR><FONT SIZE=3D2>Author: Armstead, Michael A</FONT> <BR><FONT SIZE=3D2> INET: maa25681_at_GlaxoWellcome.com</FONT> </P> <P><FONT SIZE=3D2>Fat City Network Services -- (858) = 538-5051 FAX: (858) 538-5051</FONT> <BR><FONT SIZE=3D2>San Diego, = California -- Public Internet = access / Mailing Lists</FONT> <BR><FONT = SIZE=3D2>---------------------------------------------------------------= -----</FONT> <BR><FONT SIZE=3D2>To REMOVE yourself from this mailing list, send an = E-Mail message</FONT> <BR><FONT SIZE=3D2>to: ListGuru_at_fatcity.com (note EXACT spelling of = 'ListGuru') and in</FONT> <BR><FONT SIZE=3D2>the message BODY, include a line containing: UNSUB = ORACLE-L</FONT> <BR><FONT SIZE=3D2>(or the name of mailing list you want to be removed = from). You may</FONT>Received on Tue Jan 09 2001 - 10:56:16 CST