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: Reverse engineer CREATE DATABASE sql

Re: Reverse engineer CREATE DATABASE sql

From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: 1 Aug 2006 07:12:00 -0700
Message-ID: <1154441519.919568.255000@p79g2000cwp.googlegroups.com>

carkbster_at_gmail.com wrote:
> I've seen various scripts out there that can extract the CREATE
> DATABASE SQL for an existing SID, but most seem to be limited to
> version 8.1 or below.
>
> Has there been any newer scripts to extract the SQL for Oracle 10g
> databases?
>
> -Crispin

I'd be asking why? at this point. From Oracle8i and certainly by 10g the most likely reason to extract a create db statement, in order to duplicate a database, can be achieved by using RMAN.

parsing an export indexfile for DDL works on all versions and there is DBMS_METADATA as well (not without its bugs but hey you can't have everything. Received on Tue Aug 01 2006 - 09:12:00 CDT

Original text of this message

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