https://docs.oracle.com/cd/F19136_01/adfns/flashback.html#GUID-8CF548A0-FA45-45B2-87CE-9F6F17ED1A41
有効
表の新規作成
grant flashback archive on fla1 to hr;
grant flashback archive on fla2 to hr;
conn hr/hr
create table hr.flata(
col1 number,
col2 date
) flashback archive;
create table hr.flatb(
col1 number,
col2 date
) flashback archive fla1;
select * from dba_flashback_archive_tables;
既存表の変更
conn sh/sh
alter table sh.sales flashback archive;
alter table sh.times flashback archive fla1;
select * from dba_flashback_archive_tables;
無効
alter table sh.sales no flashback archive;
select * from dba_flashback_archive_tables;