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: Copying PL/SQL Objects

Re: Copying PL/SQL Objects

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Thu, 27 Mar 2003 13:34:05 -0800
Message-ID: <F001.00574BA7.20030327133405@fatcity.com>


> "Weiss, Rick" wrote:
>
> I have a question for the group:
>
> What is the best way to copy a large set (>400 pkgs alone) of PL/SQL
> objects (procedures, packages, etc.) from SCHEMA_A on database A
> (8.1.7.2 on AIX) to SCHEMA_A on database B (9.2.0.2 on W2K) without
> whacking the tables, indexes on database B?
>
> I have thought about EXP/IMP, but the tablespace names do not match.
>
> Thanks
>
> Rick Weiss

Rick,

  Your idea was good. Export with ROWS=N. Execute (database B)   ALTER USER SCHEMA_A
  QUOTA 0 ON <default tablespace>;

  Import. Lots of errors but we have seen worse. Then   ALTER USER SCHEMA_A
  QUOTA UNLIMITED ON <default tablespace>;

 Then you can quietly check why everything didn't compile properly.

-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.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 Thu Mar 27 2003 - 15:34:05 CST

Original text of this message

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