`

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

    当你遇到错误“Please use SHOW DDL to check it, and then recover or rollback it using RECOVER DDL or ROLLBACK DDL”时,这表明在尝试执行DDL操作时,系统检测到一个尚未完成的DDL作业,导致新的DDL请求无法...

    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...

    Wondershare Recoverit8.0.4.3

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

    1数据恢复Wondershare-Recoverit-8.2.0.17.zip

    Wondershare Recoverit是一款专业且高效的数据恢复工具,旨在帮助用户恢复因各种原因丢失的文件,如误删除、硬盘故障或U盘问题。在这个压缩包文件"1数据恢复Wondershare-Recoverit-8.2.0.17.zip"中,包含了该软件的...

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

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

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

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

    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 ...

    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" ...

    英文原版-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

    各类实用工具,经测试,需要的下载

    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...

    recoverit数据恢复软件.rar

    《全面解析:Recoverit数据恢复软件的使用与优势》 在数字时代,数据的重要性不言而喻。无论是个人照片、重要文档还是企业关键信息,一旦丢失,可能会带来巨大的困扰和损失。在这种背景下,数据恢复工具如Recoverit...

    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 ...

    BURNINTEST--硬件检测工具

    to continue using it after the evaluation period. Installation ============ 1) Uninstall any previous version of BurnInTest 2) Double click (or Open) the downloaded ".exe" file 3) Follow the prompts ...

Global site tag (gtag.js) - Google Analytics