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.

Other related posts: