CodePudding user response:
Right-click the drop PLSQL batch selectedCodePudding user response:
The beginFor the TAB (in
Select the 'drop table' | | table_name | | 'purge' as SQL from user_tables where table_name like '% TEMP %'
) loop
The execute immediate TAB. SQL;
end loop;
end;
Model queries, can use multiple; See how will you want to delete the table, and cannot be deleted you don't want to delete the table;
This script, the most useful is to clear all the tables,
CodePudding user response:
Use dba_tables data field view to generate a drop script,CodePudding user response: