Use Oracle's flashback table to restore Data

Source: Internet
Author: User

A colleague deleted an important Oracle table and failed to run the project! Fortunately, a DBA friend suggested that the flashback table of oracle can restore data. After using the flashback table, the results will be good and we will learn it together! Here, I would like to thank my DBA friends !!!

// Set the rows that can be moved by the outer table.

1. alter table T_DUAL enable row movement;

// Execute the restore operation for the table data from 20011 to 02-23 22:53:00

2. flashback table T_DUAL to timestamp TO_TIMESTAMP ('2017-02-23 22:53:00 ', 'yyyy-mm-dd hh24: mi: ss ');

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.