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: Deleting a schema in Oracle 9i

Re: Deleting a schema in Oracle 9i

From: Howard J. Rogers <hjr_at_dizwell.com>
Date: Fri, 08 Oct 2004 13:43:54 +1000
Message-ID: <41660da5$0$23893$afc38c87@news.optusnet.com.au>


John wrote:

> Hi All,
>
> Can anyone tell me how to delete a schema (and all of its related tables
> and views) in a step or two?
>
> Thanks

drop user FRED cascade;

(A command which comes about because in Oracle a schema is simply a collection of objects owned by a user. So if you drop the user, you inevitably drop the schema).

Regards
HJR Received on Thu Oct 07 2004 - 22:43:54 CDT

Original text of this message

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