My Oracle Support Banner

Database Upgrade From 11gR2 TO 12.2.0.1 Reports Error "ORA-22866: cannot replace a type with table dependents" (Doc ID 2377125.1)

Last updated on DECEMBER 31, 2019

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When upgrading 11gR2 database to 12.2.0.1, it reports the following error in upgrade log (catupgrd0.log).

20:39:10 SQL> CREATE OR REPLACE TYPE ODCIVarchar2List FORCE
20:39:10 2 AS VARRAY(32767) OF VARCHAR2(4000);
20:39:10 3 /
CREATE OR REPLACE TYPE ODCIVarchar2List FORCE
*
ERROR at line 1:
ORA-22866: cannot replace a type with table dependents

 

Changes

Upgrading database to 12.2.0.1

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
Changes
Cause
Solution


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