BIG Biang teach you how to delete Oracle by mistake,

Source: Internet
Author: User

Today inadvertently on the Internet to see a message about the recovery of Oracle deleted data, found that it is very good, the following on my test report to you.

1. Select * FROM T_VIRADSL2 t//query T_VIRADSL2 for all data, you can see three data

2. Delete T_VIRADSL2//delete all data in T_VIRADSL2, three data disappears

3. Select * FROM T_VIRADSL2 t//No data.

4. INSERT INTO T_VIRADSL2 SELECT * from T_VIRADSL2 as of timestamp to_date (' 2011-01-19 15:28:00 ', ' yyyy-mm-dd hh24:mi:ss ') Mistakenly deleted data has been inserted into the table

5. Select * FROM T_VIRADSL2 t//See also three data.

Let's analyze the fourth step and note this sentence:

SELECT * from T_VIRADSL2 as of timestamp to_date (' 2011-01-19 15:28:00 ', ' yyyy-mm-dd hh24:mi:ss '), what do you mean, find T_VIRADSL2 in 2011 -01-19 15:28:00 All the data at this point in time, now that you've found it, you can do whatever you want to do.

Finally, thanks to Korea's Superman gas combination big Biang luv, Top

BIG Biang teach you how to delete Oracle by mistake,

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.