Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: dropping a user's objects
Thanks - this looks good . . . I guess the best way is to specifically drop
each object type first, with tables last.
bill
-----Original Message-----
Sent: Thursday, August 08, 2002 2:56 PM
To: Multiple recipients of list ORACLE-L
This routine works for me, just replace <user> with your user name (or prompt for it). Needs to be executed with user having dba privs...
set heading off echo off termout off verify off feedback off pause off
set linesize 1000
set pagesize 0
set trimspool on
set long 1000000
spool dropall_temp.sql
spool off
@sqlplus_settings
@dropall_temp.sql
Dan Straub
McKesson Information Solutions
541-681-8278
44°03'N 123°05'W (or thereabouts)
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Magaliff, Bill
INET: Bill.Magaliff_at_lendware.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------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 Aug 08 2002 - 14:56:46 CDT