For other objects than tables take a look at 
http://www.itsystems.lv/gints/dba_selects.htm#s22
(Create "Drop" statements for a user's tables, views, sequences, functions, 
procedures, packages)

Gints Plivna, 
Softex Latvia,
Tel. 7204520
Fax 7204260
http://www.softex.lv

-----Original Message-----
Sent: otrdiena, 2002. gada 22. oktobrī 15:29
To: Multiple recipients of list ORACLE-L

If you just don't want to drop them individually by hand, you could use sql
to write sql...

set head off
spool droptable.sql
select "drop table "||owner||"."||table_name||";"
from dba_tables
where owner = <whose stuff you are deleteing>;

make sure the sql looks right

@droptable.sql

write the same kind of sql against dba_objects to get all of that user's
objects... 


April Wells
Oracle DBA 


--- Clinton Naude <[EMAIL PROTECTED]> wrote:
> What is the syntax to delete multiple objects, or more specifically
> multiple
> tables from a user in 1 go.
> 
> I need to delete 50+ tables/objects without deleting them 1 by 1.
> 
>  
> 
> Thanks
> 
>  
> 
> Clint
> 
> 

> ATTACHMENT part 2 image/jpeg name=Sunflower Bkgrd.jpg



__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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: Gints Plivna
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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