Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Delete
SCIS-Student wrote:
>
> How can I delete all of the tables in my account without using DROP
> TABLE for each table?
>
> Thanks
>
> ZWA
Why not
spool blah.sql
select 'drop table '||table_name||' cascade constraints;'
from user_tables;
@blah
HTH
-- =========================================== Connor McDonald http://www.oracledba.co.uk We are born naked, wet and hungry...then things get worseReceived on Sun Jul 09 2000 - 00:00:00 CDT
![]() |
![]() |