My Oracle Support Banner

DBMS_METADATA Excludes Semi-Colon With Multiple Constraints (Doc ID 1436887.1)

Last updated on OCTOBER 06, 2022

Applies to:

PL/SQL - Version 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

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