My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
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 Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.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;
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


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

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