ORACLE清空回收站操作

ORACLE清空回收站操作

a、查看那些对象被删除至回收站

  select * from user_recyclebin;
b、清空回收站中的某个表
  purge table orgin_table_name;
  purge index orgin_index_name;
c、清空整个回收站
  purge recycle;
d、删除表不进入回收站
  drop table table_name purge;
e、从回收站恢复被删除的表  
  flashback table table_name to before drop
f、从回收站灰复被删除的表并重命名
  flashback table table_name to before drop rename to other_table_name

posted @ 2020-01-01 14:12  风的倾听  阅读(1869)  评论(0编辑  收藏  举报