insert into tablerestore select * from tablerestore as of timestamp to_Date('2014-8-8 15:00:00','yyyy-mm-dd hh24:mi:ss')
参数解释:tablerestore 要恢复数据的表
后面的时间是恢复截止到某个点的数据
恢复指定时间点数据
本文介绍了一种在数据库中恢复到特定时间点的方法。通过使用SQL语句将数据回滚到指定的时间戳,可以实现对历史数据状态的复原。
insert into tablerestore select * from tablerestore as of timestamp to_Date('2014-8-8 15:00:00','yyyy-mm-dd hh24:mi:ss')
参数解释:tablerestore 要恢复数据的表
后面的时间是恢复截止到某个点的数据
1502
97

被折叠的 条评论
为什么被折叠?
