Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ....A drop schema script ??

RE: ....A drop schema script ??

From: Diego Cutrone <dcutrone_at_afip.gov.ar>
Date: Thu, 17 May 2001 12:03:56 -0700
Message-ID: <F001.00306A74.20010517120116@fatcity.com>

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

> How about:
>
> drop user <username> cascade;
>
>
> --- Luis DeUrioste <luis_deurioste_at_rac.ray.com> 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:Luis_deUrioste_at_raytheon.com
> > 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: rockyw_99_at_yahoo.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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Diego Cutrone
  INET: dcutrone_at_afip.gov.ar

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 May 17 2001 - 14:03:56 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US