Using DBMS_METADATA to Remove the CONSTRAINT From the Table DDL
(Doc ID 1474030.1)
Last updated on DECEMBER 17, 2019
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata 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.
Using DBMS_METADATA to generate DDL for a Table is producing the following output.
The output is correct, but when used as a SQL script to create the table within another database the SQL script will fail as the associated constraints don't exist.
As a result, the goal is to have the contraints created after the DDL command.
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