Go to the FreeLists Home Page Home Signup Help Login
 



[oracle-l] || [Date Prev] [08-2007 Date Index] [Date Next] || [Thread Prev] [08-2007 Thread Index] [Thread Next]

RE: export & import FULL =Y

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <godwin.ror@xxxxxxxxx>, "Oracle-L Freelists" <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 2 Aug 2007 09:22:19 -0700
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.





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.