Fix ORA-08189: cannot flashback the table because row movement is not enabled

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
Error Description:
Flashback table command failed with following error.
SQL> FLASHBACK TABLE test2 TO TIMESTAMP TO_TIMESTAMP('2013-10-28 12:00:00', 'YYYY-MM-DD HH24:MI:SS');
FLASHBACK TABLE test2 TO TIMESTAMP TO_TIMESTAMP('2013-10-28 12:00:00', 'YYYY-MM-DD HH24:MI:SS')
                *
ERROR at line 1:
ORA-08189: cannot flashback the table because row movement is not enabled

Solution Description:
        All flashback related operation on any oracle table requires the row movement enablement on the particular table. Below mentioned are the flashback related operations can be performed and which need the row movement enabled.
·        Flashback table
·        Flashback transaction query
·        Flashback version query
Here is the command to enable the row movement.
Syntax: alter table enable row movement;

Example:

SQL> alter table test2 enable row movement;


Table altered.

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer