spool /tmp/drop_tables.lst
select 'drop table '||table_name||' cascade;'
from dba_tables
where owner='USERNAME';
spool off
@/tmp/drop_tables.lst
Cheers
|
Results 1 to 2 of 2
Thread: drop all the tablesThreaded View
|
Click Here to Expand Forum to Full Width |