DBMS_METADATA Excludes Semi-Colon With Multiple Constraints
(Doc ID 1436887.1)
Last updated on FEBRUARY 25, 2019
Applies to:
PL/SQL - Version 11.2.0.2 and laterInformation in this document applies to any platform.
Symptoms
There are actually 2 issues to address.
The first is that the semi-colon is missing when multiple constraints are returned.
The second is that keywords will have a carriage return in the middle.
Both issues generate syntax errors if the commands produced were to be executed in a SQL script.
This example will illustrate both issues.
Created a new table with 3 foreign key constraints to the EMP table in the SCOTT schema.
Cause
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
Symptoms |
Cause |
Solution |
References |