set head off;   
set feed off;    
spool  /home/up.sql;  
select 'drop table ' || table_name ||';'||chr(13)||chr(10) from user_tables;
spool off; 
 
 
生成文件,然后执行@up.sql即可

相关文章:

  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-02-17
  • 2021-12-04
  • 2021-12-04
  • 2021-11-10
猜你喜欢
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-29
  • 2021-12-11
  • 2021-12-04
相关资源
相似解决方案