Drop All table, package.

select 'drop table '||table_name||' cascade constraints;' from user_tables;

select 'drop '||object_type||' '|| object_name || ';' from user_objects where object_type in ('VIEW','PACKAGE','SEQUENCE', 'PROCEDURE', 'FUNCTION', 'INDEX')

Không có nhận xét nào

Được tạo bởi Blogger.