闪回命令出错 ORA-08189: cannot flashback the table because row movement is not enabled

来源:互联网 发布:单片机寄存器是什么 编辑:程序博客网 时间:2024/06/05 04:43

test@ORCL>flashback table t to scn:scn
  2  ;
flashback table t to scn:scn
                *
ERROR at line 1:
ORA-08189: cannot flashback the table because row movement is not enabled

 

使用闪回命令出错

 

 

 

test@ORCL>select row_movement from user_tables where table_name='T';

ROW_MOVE
--------
DISABLED

 

表行迁移开关未打开

 

test@ORCL>alter table t enable row movement;

Table altered.

 

开启行迁移

 

test@ORCL>flashback table t to scn:scn;

Flashback complete.

 

闪回成功

原创粉丝点击