Invalid SYS.DBMS_ODM After Upgrade To 10G
Last updated on APRIL 27, 2012
Applies to:Oracle OLAP - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.
You upgraded from 9i to 10g and you now have invalid sys.DBMS_ODM package body.
alter package sys.DBMS_ODM compile body;
Warning: Package Body altered with compilation errors.
SQL> show error
Errors for PACKAGE BODY SYS.DBMS_ODM:
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00304: cannot compile body of 'DBMS_ODM' without its
Package has no body in SYS
select owner, object_name, object_type, status
f rom dba_objects
where object_name = 'DBMS_ODM';
returns the following:
SYS DBMS_ODM PACKAGE BODY INVALID
PUBLIC DBMS_ODM SYNONYM VALID
OLAPSYS DBMS_ODM PACKAGE VALID
OLAPSYS DBMS_ODM PACKAGE BODY VALID
Upgraded your database. This could also occur with new installation.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms