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: Database creation script anybody?

Re: Database creation script anybody?

From: Scott Shafer <scott.shafer_at_ildmail.com>
Date: Tue, 2 May 2000 14:23:06 -0500
Message-Id: <10485.104726@fatcity.com>


connect internal and issue a:

alter database backup controlfile to trace;

Edit the trace file in your dump directory. It will have the full create statement, including datafiles, for your db. Just edit to put required statements in the appropriate places, etc. Not very elegant, but works in a pinch...

Scott Shafer
San Antonio, TX

>
>
>
> Hi Listers,
>
> Does anybody out there have a database recreation script written in PL/SQL
that
> uses dbms_output.put_line to print the create database commands e.g.
tablespace
> creation lines.
>
> The script should be run on an existing database to build each command.
>
> Regards
>
> Nigel T
>
>
>
>
>
> --
> Author:
> INET: Thomas.Nigel_at_viaginterkom.de
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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 Tue May 02 2000 - 14:23:06 CDT

Original text of this message

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