Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Recompiling invalid objects in PL/SQL
run this query
/* Formatted on 2003/06/27 08:39 (Formatter Plus v4.5.2) */ SELECT 'ALTER '
|| DECODE (object_type, 'PACKAGE BODY', 'PACKAGE', object_type) || ' ' || object_name || DECODE (object_type, 'PACKAGE BODY', ' COMPILE BODY;', 'COMPILE;') AS "Recompile Statement"
AND object_type IN ('PROCEDURE',Received on Tue Dec 06 2005 - 23:15:35 CST
'PACKAGE',
'PACKAGE BODY',
'FUNCTION',
'VIEW',
'TRIGGER',
'INDEX'
);
![]() |
![]() |