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: Recreate database script

Re: Recreate database script

From: ltiu <ltiu_at_alumni.sfu.ca>
Date: Mon, 09 Sep 2002 08:03:26 -0800
Message-ID: <F001.004CB034.20020909080326@fatcity.com>


Thanks.

I wonder if you can treat an export file as a *.sql script and run it off sqlplus with the @@script.sql command?

I shall give this a try.

ltiu

Fink, Dan wrote:

>If you export with rows=n, you get a text file with all the ddl to recreate
>the exportable objects. However, packages/procedures are formatted and not
>at all easy to use to recreate and the storage clauses are all in bytes. Not
>a pretty method, but certainly one that can be used.
>
>-----Original Message-----
>Sent: Friday, September 06, 2002 3:59 PM
>To: Multiple recipients of list ORACLE-L
>
>
>Export can do this. Right?
>
>But the output is not a script but a binary file only Import can understand.
>
>ltiu
>
>Connie Milliken wrote:
>
>
>
>>Does anyone have a script that will write another script to recreate a
>>particular database quickly with all the info specific to that particular
>>database?
>>
>>Seems to me that I have seen this somewhere before, but I am not sure
>>
>>
>where.
>
>
>>
>>
>>
>>
>
>
>
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: ltiu
  INET: ltiu_at_alumni.sfu.ca

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 Mon Sep 09 2002 - 11:03:26 CDT

Original text of this message

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