My Oracle Support Banner

Database Upgrade From 11.2.0.4 to 19.17 Fails With Error ORA-00942 When Modifying registry$sqlpatch (Doc ID 2920537.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

 Database upgrade from 11.2.0.4 to 19.17 fails with below error

SQL> begin
2 execute immediate 'alter table registry$sqlpatch add (version varchar2(20))';
3 end;
4 /
begin
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at line 2

Elapsed: 00:00:00.01
SQL>
SQL> begin
2 execute immediate 'alter table registry$sqlpatch add (patch_uid number)';
3 end;
4 /
begin
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at line 2

Elapsed: 00:00:00.00
SQL>
SQL> begin
2 execute immediate 'alter table registry$sqlpatch add (flags varchar2(10))';
3 end;
4 /
begin
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at line 2

 

Changes

 

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.