Reputation: 304544
How do I enable flashback queries for all of my developers on my Oracle instance?
Flashback queries are executed as of a particular time so that
select * from mytable as of timestamp(sysdate-1);
will show the contents of the table as of 24 hours ago.
Upvotes: 4
Views: 14006
Reputation: 387
You can use flashback query for your own tables without needing any privileges. If you want other users to use flashback query on your tables you need to grant select and flashback privileges to those users.
If you want to see data as of 24 hours ago you need to have an adequately sized undo tablespace and properly set undo retention.
Upvotes: 1
Reputation: 3893
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_flashb.htm#BGBJEJGF
Upvotes: 0
Reputation: 304544
grant execute on dbms_flashback to public;
grant flashback any table to public;
Upvotes: 7