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

Home -> Community -> Usenet -> c.d.o.server -> Re: Drop a user

Re: Drop a user

From: David Fitzjarrell <oratune_at_aol.com>
Date: Wed, 27 Dec 2000 15:24:44 GMT
Message-ID: <92d1jo$c9t$1@nnrp1.deja.com>

In our last gripping episode Inna <mednyk_at_my-deja.com> wrote:
> In article <92c2l4$n55$1_at_nnrp1.deja.com>,
> No Wonder <manyingsek_at_yahoo.com> wrote:
> > Hi,
> >
> > What's the proper way to drop a DB user??
> >
> > When the user is dropped, do I have to manually delete all those
> > tables/object of that user or it's done automatically by the server?
> >
> > Thanks,
> > Johnny
> >
> > Sent via Deja.com
> > http://www.deja.com/
> >
>
> When you drop user(schema) you drop everything that is inside of it
> That means all objects that user owned, including tables,
> functions,views: everything.
> --
> Inna.Junior programmer.
>
> Sent via Deja.com
> http://www.deja.com/
>

I believe you mean drop user <username> cascade. And, yes, when you issue a drop user <username> cascade you do drop all objects owned by that user.

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com
http://www.deja.com/
Received on Wed Dec 27 2000 - 09:24:44 CST

Original text of this message

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