Dbms_metadata Produces Incorrect DDL for tables with Nested Table and Rowdependencies clause (Doc ID 2217639.1)

Last updated on DECEMBER 29, 2016

Applies to:

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

Symptoms

dbms_metadata.get_ddl function is generating wrong ddl for a table with nested table and rowdependencies. This is causing the exp/imp of the table to fail with error ORA-922.

Original ddl of table

 

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