My Oracle Support Banner

Flashback Table To Scn Fails With ORA ORA-01031 (Doc ID 1956473.1)

Last updated on NOVEMBER 14, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

On : 11.2.0.4 version, Database Security

When attempting to flashback a table using a user A
the following error occurs.

ERROR
-----------------------
ORA-00604: error occurred at recursive SQL level 1
ORA-01031: insufficient privileges



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1) connect system/oracle

create user extsape_dba identified by oracle;
grant connect,resource to extsape_dba;
create table extsape_dba.t (t number);
alter table extsape_dba.t enable row movement;
select current_scn from v$database;
insert into extsape_dba.t values (1);
create user a identified by a;
grant connect to a;
grant select, insert, update,delete, flashback on extsape_dba.t to a;

2)connect a/a

flashback table extsape_dba.t to scn 6077362;


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.