My Oracle Support Banner

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 later
Information 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


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