How to recover a dropped table in oracle?
Answer / Ravi Tewari
To recover a dropped table in Oracle, you can use the `FLASHBACK DATABASE` command if you have the Flashback Data Archive enabled. Here's an example:
```sql
ALTER SYSTEM FLASHBACK DATABASE TO BEFORE TIMESTAMP_IN_FORMAT 'DD-MON-YY HH24:MI:SS';
CREATE TABLE dropped_table AS SELECT * FROM flashback_table@scott.sh;
```
Replace `TIMESTAMP_IN_FORMAT` with the timestamp when the table was last present and `flashback_table@scott.sh` with the name of the Flashback Data Archive view for the dropped table.
| Is This Answer Correct ? | 0 Yes | 0 No |
7. Repeat query (7) but also display all clients who have never ordered anything.
How to use subqueries in the from clause in oracle?
State the various uses of dbcc command?
In my table i have 4 columns with 100 records but in that 4 columns one column contains all NULL values so can i add NOT NULL CONSTRAINT on that column......... ok if it is not possible, can i add NOT NULL CONSTRAINT from 101 Record Onwards?
What is hash cluster in oracle?
1. Display all the rows and columns in the CLIENT table. Sort by client name in reverse alphabetical order.
What are the differences between char and nchar in oracle?
What is Network Database link ?
What is the difference between normal and corelated subqueries?
A USER HAVING CREATE SESSION PREVILAGE CAN ALTER PASSWORD/CHANGE PASSWORD?
What is using clause and give example?
What is a data segment ?