Database Upgrade To 12c Fails with Errors "ORA-00604: error occurred at recursive SQL level 1" & "ORA-00904: "D"."FLAGS": invalid identifier"

(Doc ID 1944654.1)

Last updated on NOVEMBER 13, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

Symptom 1- For Upgrades to 12.1

Database upgrade  from 11.2  to 12.1.0.2 fails with the following errors:

ORA-00604: error occurred at recursive SQL level 1
ORA-00904: "D"."FLAGS": invalid identifier

Symptom 2- For Upgrades to 12.2

Database upgrade to 12.2.0.1 fails with the following errors:

09:42:00 SQL> ALTER TABLE sys.profname$ ADD flags NUMBER DEFAULT 0 NOT NULL;
ALTER TABLE sys.profname$ ADD flags NUMBER DEFAULT 0 NOT NULL
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00904: "D"."FLAGS": invalid identifier

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms