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: PL/SQL Problem

Re: PL/SQL Problem

From: DriftWood <drift_wood_at_my-deja.com>
Date: Fri, 15 Dec 2000 14:13:19 GMT
Message-ID: <91d8tr$sed$1@nnrp1.deja.com>

Not particularly better, but different:

rem compile.sql - recompiles all invalid database objects rem change the spool path to whatever you want spool /opt/oracle/admin/adhoc/runthem.sql SELECT 'ALTER ' || OBJECT_TYPE || ' ' || OWNER || '.' || OBJECT_NAME || ' COMPILE;' FROM DBA_OBJECTS
WHERE STATUS = 'INVALID'
/

spool off;

@/opt/oracle/admin/adhoc/runthem.sql

--
-cheers
  DW
--------------------------------------------------------------------
"It is a kind of good deed to say well; and yet words are not deeds.
  -William Shakespeare"


Sent via Deja.com
http://www.deja.com/
Received on Fri Dec 15 2000 - 08:13:19 CST

Original text of this message

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