oracle数据库不小心删除了数据
程序员文章站
2022-05-07 08:37:16
1.select * from SYS_DICT as of timestamp to_timestamp('2019-11-05 10:00:00','yyyy-mm-dd hh24:mi:ss'); 时间点在删除数据之前,又尽量精确 sys_dict 是表名 2.insert into SYS_ ......
1.select * from sys_dict as of timestamp to_timestamp('2019-11-05 10:00:00','yyyy-mm-dd hh24:mi:ss');
时间点在删除数据之前,又尽量精确 sys_dict 是表名
2.insert into sys_dict (select * from sys_dict as of timestamp to_timestamp('2019-11-05 10:00:00','yyyy-mm-dd hh24:mi:ss'));
把数据重新插入
上一篇: 记一次ES查询数据突然变为空的问题