Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Generate DDL from a Schema

Generate DDL from a Schema

From: <nickli2000_at_gmail.com>
Date: Thu, 20 Sep 2007 22:45:40 -0700
Message-ID: <1190353540.165417.260780@57g2000hsv.googlegroups.com>


Hi,

   I am trying to generate DDL scripts for each table, view and other indexes under a schema. I tested using DBMS_METADATA package and its get_ddl procedure. However, I can only output the create table (view, indexes) statements for all the tables in a schema in one script, not in each separation script, such as create table table_1.script, create table table_2.script, etc.
I have hundreds of tables, views, indexes, types and other objects under one schema. I would appreciate your advice on the issue.

   Thanks in advance.

    Nick Li Received on Fri Sep 21 2007 - 00:45:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US