DBMS_METADATA Excludes Semi-Colon With Multiple Constraints
(Doc ID 1436887.1)
Last updated on FEBRUARY 25, 2019
Applies to:PL/SQL - Version 126.96.36.199 and later
Information in this document applies to any platform.
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.
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