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

Home -> Community -> Usenet -> c.d.o.server -> Re: Extracting DDL from Oracle

Re: Extracting DDL from Oracle

From: George H. Claborn <claborn_at_bit-net.com>
Date: 1998/04/05
Message-ID: <35278ae8.2610235@news.bit-net.com>#1/1

>Steve Faull wrote in message <6foosg$4kr$1_at_usenet48.supernews.com>...
>>Hello,
>>
>>I'm kinda new to Oracle DBA land and have what might be a basic question.
>>Anyway, I was wonding if there's some sort of select statement or
 something
>>that would extract DDL statements for objects stored in the given database.
>>Spacifically, I want to extract all the DDL for all the indexes in a given
>>tablespace. Is this even possible? Any help would be greatly appreciated.
>>
>>Thanks in advance,
>>
>>-Steve

Another possibility:
If you already have an export dump file, Import's 'INDEXFILE=foo.sql' parameter will write the DDL for all tables and indexes in the selected dump file to foo.sql. This can be combined with the INDEXES=N parameter to defer index creation at import time.

Received on Sun Apr 05 1998 - 00:00:00 CST

Original text of this message

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