dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL
Expertise: Beginner
Feb 7, 2017

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


How to Undo Dropping a Table in Oracle SQL

Have you dropped a table by mistake and want to restore it? In some cases you can.

Let's say you've run this statement:

DROP TABLE yourtable; 

Now, you want to get the employee table back.

You can run the FLASHBACK statement to do this.

FLASHBACK TABLE yourtable TO BEFORE DROP; 

Your table will then be restored and you can run queries on it.

Ben Brumm
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date