Or...may be

select 'drop user '||username||' cascade;'
from dba_users
where username not in ('SYS','SYSTEM'); --and perhaps some other user you'd
like to conserve

...and then run the spool.

hope it helps
DC

----- Original Message -----
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 4:48 PM


> How about:
>
> drop user <username> cascade;
>
>
> --- Luis DeUrioste <[EMAIL PROTECTED]> wrote:
> > All mighty and powerful DBA supremes !
> >
> > Do any of you have a drop schema script that would be willing to share
> > ??
> > It'll be greatly appreciated
> >
> > T I A
> >
> > > begin:vcard
> > n:de Urioste;Luis Octavio
> > tel;fax:850.455.0673
> > tel;work:850.457.3218
> > x-mozilla-html:FALSE
> > org:Raytheon Aerospace;IT
> > version:2.1
> > email;internet:[EMAIL PROTECTED]
> > title:Systems Analyst
> > adr;quoted-printable:;;250 San Carlos Road=0D=0ABuilding 1853 -
> > UNFO;Pensacola;Florida;32534;U.S.A.
> > fn:Luis Octavio de Urioste
> > end:vcard
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rocky Welch
>   INET: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Diego Cutrone
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to