Getting back the dropped table back in ORACLE

You can get back the dropped table in ORACLE . To do so checkout FLASHBACK command.
Here is a example below :

First of all create a table.I am creating  a table with name First_Table.
"CREATE  table First_Table(name varchar(20),id varchar(10))"

Then DROP the table using DROP command like this: DROP table First_Table

And here comes the magic command to get back the dropped table:
FLASHBACK TABLE  First_Table TO BEFORE DROP;

Comments

Popular posts from this blog

Arrays.sort() and Collections.sort() NullPointerException

org.xml.sax. SAXParseException: Element type "web-app" must be declared.

Sentimental Analysis : PART 1