My Oracle Support Banner

Upgrade failed with "ORA-00904: "SHARDING_TYPE": invalid identifier" error (Doc ID 2607007.1)

Last updated on NOVEMBER 03, 2019

Applies to:

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


 Upgrade failed with below error while upgrading the database from to version.


19:14:34 SQL> begin
19:14:34   2      execute immediate 'UPDATE cloud SET sharding_type = 0 WHERE sharding_type IS NULL';
19:14:34   3  exception when others then
19:14:34   4      if (sqlcode = -942) then null;
19:14:34   5      else raise;
19:14:34   6      end if;
19:14:34   7  end;
19:14:34   8  /
ERROR at line 1:
ORA-00904: "SHARDING_TYPE": invalid identifier
ORA-06512: at line 5
ORA-06512: at line 2


 Upgrading the database from to version.


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
 SQL> drop synonym;

This error can be ignored and proceed with post upgrade part for this environment.

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