`

recover the tables when using "drop" sentences to do it

阅读更多
  today  a very urgent thing happened in the project, my colleague droped all the tables of database because of the careleness, there was no other choice we had to face this situation, we thank of many ways ,and tried to solve this problem,
  but  we still did not fix this problem, suddenly ,there are many results occured my head ,what should we do and so on .finally , we searched a way to solve this problem

在Oracle中恢复被DROP掉的表


在Oracle中可能不小心会DROP掉一个表,如果没有定期做备份的话,将会带来很大的麻烦。如果有的情况下,每天的数据都很重要,而定期备份的周期又稍长,情况恐怕也不容乐观!
不过还好Oracle有个回收站,概念就跟Windows里的回收站一模一样。
比如有以下误操作:
DROP TABLE drop_test;
这个时候再用SELECT语句查询此表时,将会提示表或视图不存在。但可以用如下语句查询到这个表还在Oracle回收站中:
SELECT * FROM user_recyclebin WHERE original_name=‘drop_test’;
那么现在就可以用如下语句进行恢复:
FLASHBACK TABLE drop_test TO BEFORE DROP
分享到:
评论

相关推荐

    mysql错误Please use SHOW DDL to check it, and then recover or rollback it using RECOVER DDL or ROLLBAC

    mysql执行DDL语句的时候提示错误: [Err] 4644 – [1065507aa5d0c000][10.0.85.135:3306][test]ERR-CODE: [TDDL-4644][ERR_PENDING_DDL_JOB_EXISTS] ... Please use SHOW DDL to check it, and then recover or rollbac

    Recover4all Professional

    Please read the following terms and conditions carefully because they will apply to Your use of both the unregistered and registered versions of the software program Recover4all(tm) Professional and ...

    Recover 4 all Pro V2.26

    This fact makes it possible to recover deleted files. But in the course of disk usage by users, programs or the operating system, deleted files will be overwritten with other files. So do not use the...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: The TFlexPanel.FindControlAtPoint method maked virtual to realize RealTime-capability when on mouse cursor moving the flex-object search not occurs. - FIX: After deleting the selected points ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    For example, if your header file uses the File class in ways that do not require access to the declaration of the File class, your header file can just forward declare class File; instead of having ...

    MySQL5.6同步白皮书

    MySQL Replication enables users to cost - effecti ...demonstrates how to do this using Global Transaction Identifiers (GTIDs) as well as the extra steps needed when taking the more traditional approach.

    Wondershare Recoverit8.0.4.3

    wondershare recoverit这款数据恢复软件便可以让您在遇上这样的情况时找回自己的数据,这是一个全面性的数据恢复套件,支持恢复意外删除、格式化、病毒感染、操作不当、意外停电等原因而丢失的数据。亲测可用。

    word recover word recover

    word recover word recover word recover word recover v

    Advanced.RAR.Password.Recovery.v.1.11

    can be used to recover the lost password for a RAR archive. At the moment, there is no known method to extract the password from the compressed file, so the only available methods are "brute force" ...

    电脑软件数据恢复Wondershare-Recoverit-8.2.0.17.rar

    电脑软件数据恢复Wondershare-Recoverit-8.2.0.17

    Monitoring ElasticSearch(PACKT,2016)

    You will start by getting introduced to ElasticSearch, and look at some common performance issues that pop up when using the system. You will then see how to install and configure ElasticSearch and ...

    英文原版-Monitoring ElasticSearch 1st Edition

    You will start by getting introduced to ElasticSearch, and look at some common performance issues that pop up when using the system. You will then see how to install and configure ElasticSearch and ...

    万兴数据恢复Wondershare-Recoverit-8.2.0.17.rar

    万兴数据恢复Wondershare-Recoverit-8.2.0.17.rar

    A Novel RFID Authentication Protocol with Ownership Transfer.doc

    If the bad occasion of de-synchronization happens, this protocol provides the corresponding mechanism to recover it. The major contribution of this paper is to present a novel security and privacy ...

    VB编程资源大全(英文源码 API)

    apilines.zip This example demonstrates how to draw lines using API.<END><br>13 , killapp.zip This is a bas file to close any window with just it's caption.<END><br>14 , combohgt.zip This ...

    Advanced.Zip.Password.Recovery.v3.54

    This program (Advanced ZIP Password Recovery, or simply AZPR) can be used to recover the lost password for a ZIP ...- The program can work in the background, using the CPU only when it is in idle state

    ptdd分区表医生 3.5

    partition with an error, to recover the FAT16/FAT32/NTFS/NTFS5/EXT2/EXT3/SWAP partition on IDE/ATA/SATA/SCSI harddisk drives. It can create an emergency floppy disk or a bootable CD to recover the bad...

    Recover4all-v2.32

    It does not matter, if the files were removed from the recycle bin or were directly deleted. The program is fast and very easy to use. The deleted files can be restored with a few mouseclicks. To ...

    A random walk down Wall Street.pdf

    As I'll point out later, it was the steady investors who kept their heads when the stock market tanked in October 1987, and then saw the value of their holdings eventually recover and continue to ...

    S7A驱动720版本

    - From the S7A power tool it wasn't possible to open the online help file. Now it can be opened and also the context-sensitive help works properly. - When the signal conditioning function "S&M" ...

Global site tag (gtag.js) - Google Analytics