oracle、sql developer 删除某用户下所有的表

1、在sql developer内

  1.  
    select 'drop table "'||table_name||'";'
  2.  
    from cat
  3.  
    where table_type='TABLE'

2、将结果集拷贝到 sql窗口里执行

 

原文出处:https://blog.csdn.net/xiaoliuyiting/article/details/84288873

posted @ 2019-08-24 23:47  sucre_tan  阅读(2024)  评论(0编辑  收藏  举报