当前位置: 移动技术网 > IT编程>数据库>Oracle > oracle数据库不小心删除了数据

oracle数据库不小心删除了数据

2019年11月05日  | 移动技术网IT编程  | 我要评论

wujidianfeng,安塔芮丝 下载,uniqueidentifier

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'));

把数据重新插入

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网