DBMS_METADATA.GET_DDL Raises ORA-31603 to extracting Definition for IOT_OVERFLOW (Doc ID 1589718.1)

Last updated on DECEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 29-DEC-2016***

Symptoms

 Extracting a table definition with DBMS_METADATA.GET_DDL is failing with:

SQL> select dbms_metadata.get_ddl('TABLE','SYS_IOT_OVER_5261',null) FROM DUAL;
ERROR:
ORA-31603: object "SYS_IOT_OVER_5261" of type TABLE not found in schema "SYS"
ORA-06512: at "SYS.DBMS_METADATA", line 5088
ORA-06512: at "SYS.DBMS_METADATA", line 7589
ORA-06512: at line 1

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