Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: export & import FULL =Y
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-lReceived on Thu Aug 02 2007 - 11:22:19 CDT
![]() |
![]() |