Oracle recover accidentally deleted data

Source: Internet
Author: User


Example of accidentally deleting data after oracle Restoration: 1. select * from test_table t // query all data in t_viradsl2. Three data entries are displayed. delete test_table // delete all data in t_viradsl2, and three data entries disappear. select * from test_table t // no data. 4. insert into test_table select * from test_table as of timestamp to_Date ('2017-01-19 15:28:00 ', 'yyyy-mm-dd hh24: mi: ss ') // you have inserted the accidentally deleted data into the table www.2cto.com 5. select * from test_table t // three more data entries are displayed. Let's analyze the fourth step. Note this sentence: select * from test_table as of timestamp to_Date ('2017-01-19 15:28:00 ', 'yyyy-mm-dd hh24: mi: ss'). What do you mean by finding all the data (data snapshots) of test_table at 15:28:00 ). Author: yu_xinling

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.