Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle使用timestamp将数据还原到指定时间点 #55

Open
toplhy opened this issue Jul 1, 2024 · 0 comments
Open

Oracle使用timestamp将数据还原到指定时间点 #55

toplhy opened this issue Jul 1, 2024 · 0 comments

Comments

@toplhy
Copy link
Owner

toplhy commented Jul 1, 2024

Oracle使用timestamp将数据还原到指定时间点

误删数据怎么办?

查询还原时间点数据

select * from table_name as of timestamp to_timestamp('2018-03-27 15:40:00','yyyy-mm-dd hh24:mi:ss');

还原数据

flashback table table_name to timestamp to_timestamp('2018-03-27 15:40:00','yyyy-mm-dd hh24:mi:ss');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant