DBMS_DDL.ALTER_COMPILE OTHER THAN SYS USER RESULTS IN ORA-04047.
(Doc ID 1586470.1)
Last updated on SEPTEMBER 23, 2013
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.5 to 18.104.22.168 [Release 10.2 to 11.2]
PL/SQL - Version 10.2.0.5 to 22.214.171.124 [Release 10.2 to 11.2]
Information in this document applies to any platform.
dbms_ddl.alter_compile other than SYS user fails with below error.
Works fine when run it as SYS user.
exec dbms_ddl.alter_compile ('PACKAGE BODY','SCHEMANAME','PACKAGENAME'');
BEGIN dbms_ddl.alter_compile ('PACKAGE BODY','SCHEMANAME','PACKAGENAME'); END;
ERROR at line 1:
ORA-04047: object specified is incompatible with the flag specified
ORA-06512: at "SYS.DBMS_UTILITY", line 156
ORA-06512: at "SYS.DBMS_DDL", line 157
ORA-06512: at line 1
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.|