spool drop.sql
select 'drop table ' || table_name || ';' from tabs;
spool off

@drop