DB Upgrade/Patch, 해당 Table의 Columns 추가/삭제/변경이 발생하는 경우 Invalid Objects가 발생할 수 있다.
Invalid Objects Recompile 방법
- DBMS_DDL
- DBMS_UTILITY
- UTL_RECOMP
- UTLRP.SQL
- Manually Recompile
5. Manually Recompile
ALTER OBJECT_TYPE SCHEMA.OBJECT_NAME COMPILE;
ALTER OBJECT_TYPE SCHEMA.OBJECT_NAME COMPILE BODY;
--(View,Synonym,Public Synonym,Procedure,Function,Package,Package Body,Trigger,Undefined (Materialized View),Java Class,Type Body)