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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Methods to get DDL

Re: Methods to get DDL

From: Steve Perry <sperry_at_sprynet.com>
Date: Wed, 18 Dec 2002 18:44:03 -0800
Message-ID: <F001.0051DC63.20021218184403@fatcity.com>


I like export because you get all the ddl and correct order... I have a perl script that I wrote a while back that takes either the indexfile (imp indexfile=...) the log from imp show=y (best one) and formats it... Most of the time.
It's called export_buddy.pl, but duct_tape_n_baling_wire.pl is more like it. ;)
The code could use somebody who knows perl to clean it up, but it has worked really well for me and I "have" needed it a time or two in the past. Let me know if anyone wants a copy.

Steve

P.S. I've only used it on M$ winders...

> I finally have a bit of time and was wondering what are different
> methods to get DDL other than
> Export rows=n
> Using Quest SQL navigator
> Using The Databee tool
>
> Ideally Id like to get it from a sql plus command but Im pretty sure
> that's not available. DDL dosnt seem to be available from DBA studio
> either...
>
>
> Im wondering what methods people are using?
> I'd like a quick way to get the ddl for say... One index
>
> Thanks in advance
> bob
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Bob Metelsky
> INET: bmetelsky_at_cps92.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Steve Perry
  INET: sperry_at_sprynet.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Dec 18 2002 - 20:44:03 CST

Original text of this message

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