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: export & import FULL =Y

RE: export & import FULL =Y

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Thu, 2 Aug 2007 09:22:19 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45071FE199@NT15.oneneck.corp>


Just drop the existing users & schemas in dev with the DROP USER . . . CASCADE command - here is a query that will generate the script to drop all users for you other than the exceptions in the IN list:  

select 'drop user ' || username || ' cascade;' from dba_users where username not in
('SYS','SYSTEM','OUTLN','DBSNMP','DIP','TSMSYS');   Also, you'll probably want to add direct=y to your exp command - it will most likely make it MUCH faster.  

Regards,
Brandon

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Aug 02 2007 - 11:22:19 CDT

Original text of this message

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