How To Get The DDL For All Tables In A Specific Schema (Doc ID 781161.1)

Last updated on JUNE 16, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.1.0 [Release 10.1 to 11.2]
Information in this document applies to any platform.

Goal

This document explains how to get the DDL for all the tables in a specific schema using DBMS_METADATA.GET_DDL package / procedure.

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