My Oracle Support Banner

ORA-00942 when upgrdaing from 11.2 to 12c (Doc ID 2360488.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

Upgrade from 11.2.0.4 to 12c on Standby DB fails with:

ERROR en linea 1:
ORA-00942: la tabla o vista no existe
ORA-06512: en "XDB.DBMS_XMLSCHEMA_INT", linea 37
ORA-06512: en "XDB.DBMS_XMLSCHEMA", linea 65
ORA-06512: en "XDB.DBMS_XMLSCHEMA", linea 136
ORA-06512: en linea 5


Transcurrido: 00:00:03.28
12:05:48 SQL>
12:05:48 SQL> declare
12:05:48 2 TRXSD BFILE := dbms_metadata_hack.get_bfile('xmltr.xsd.11.0');
12:05:48 3 TRURL VARCHAR2(2000) := 'http://xmlns.oracle.com/xdb/csx.xmltr.xsd';
12:05:48 4 begin
12:05:48 5 xdb.dbms_xmlschema.registerSchema(TRURL, TRXSD, FALSE, FALSE, FALSE, TRUE,
12:05:48 6 FALSE, 'XDB',
12:05:48 7 options => DBMS_XMLSCHEMA.REGISTER_BINARYXML);
12:05:48 8 end;
12:05:48 9 /
declare
*
ERROR en linea 1:
ORA-00942: la tabla o vista no existe
ORA-06512: en "XDB.DBMS_XMLSCHEMA_INT", linea 37
ORA-06512: en "XDB.DBMS_XMLSCHEMA", linea 65
ORA-06512: en "XDB.DBMS_XMLSCHEMA", linea 136
ORA-06512: en linea 5


XDB is VALID:

COMP_ID COMP_NAME STATUS
------------------------------ ----------------------------------- --------------------------------------------
XDB Oracle XML Database VALID
CATALOG Oracle Database Catalog Views VALID
CATPROC Oracle Database Packages and Types VALID
RAC Oracle Real Application Clusters VALID

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.