Using DBMS_METADATA To Get The DDL For Objects (Doc ID 188838.1)

Last updated on DECEMBER 06, 2016

Applies to:

PL/SQL - Version 9.0.1.0 and later
Oracle Database - Enterprise Edition - Version 9.0.1.0 to 11.1.0.7 [Release 9.0.1 to 11.1]
Information in this document applies to any platform.
*** Checked for relevance on 22-Mar-2016 ***

Goal

 The purpose of this document is to illustrate the usage of dbms_metadata to generate the DDL for objects.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms