摘要: select 'drop table ' || table_name ||'cascade constraints;'||chr(13)||chr(10) from user_tables; --delete tables
select 'drop view ' || view_name||' cascade constraints;'||chr(13)||chr(10) from user_views; --delete views
select 'drop sequence ' || sequence_name||' cascade constraints;'||chr(13)||chr(10) from user_sequences;--delete seqs
阅读全文