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: Move selected tables

Re: Move selected tables

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Mon, 04 Aug 2003 09:44:26 -0800
Message-ID: <F001.005C8D5B.20030804094426@fatcity.com>


Hi!

> Right - but it is quite easy to use the dynamic SQL already illustrated in
> an earlier email reply (eg below) to capture the entirety of the DDL for
a
> suite of tables, and transpose the whole lot into a new schema. In fact, I
> am doing this sort of thing repeatedly, as our users areas are regarded as
> 'development', with their objects (tables, triggers, constraints, the lot)
> being moved into our production schema more or less on demand.

In 9i, you could make life easier with dbms_metadata functions get_ddl and get_dependent_ddl...

Tanel.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tanel Poder
  INET: tanel.poder.003_at_mail.ee

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 Mon Aug 04 2003 - 12:44:26 CDT

Original text of this message

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