码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2019-08-25 01:34:57      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:str   图片   net   keyword   text   http   proc   nbsp   lin   

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

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

标签:str   图片   net   keyword   text   http   proc   nbsp   lin   

原文地址:https://www.cnblogs.com/sucretan2010/p/11406591.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!