oracle误删表数据(delete)

转:http://www.cnblogs.com/hqbhonker/p/3977200.html

1.打开Flash存储的权限
ALTER TABLE tableName ENABLE row movement ;

2.找到这个表在这个时间点的数据

select * from table as of timestamp to_timestamp('2019-01-14 11:00:00','yyyy-mm-dd hh24:mi:ss')
3.把这部分数据还原或者新建一个相同结构的表存储

create table tbname

as

select * from table as of timestamp to_timestamp('2019-01-14 11:00:00','yyyy-mm-dd hh24:mi:ss');

OK,到此, 这个tbname 表里的数据就是 这个时间节点的数据了

猜你喜欢

转载自blog.csdn.net/kai402458953/article/details/86475420