QuestionQ240

VerifiedBackup and Recovery Concepts

In the database, user SCOTT wants to restore the dropped HR. EMPLOYEES table by running:

SQL> FLASHBACK TABLE HR.EMPLOYEES TO BEFORE DROP;  

Which three prerequisites must be satisfied for this command to succeed?

Choose two
Explanation

Flashback Drop restores a dropped table from the recycle bin, not from undo, so undo-retention guarantee is unnecessary. Restoring by the original name fails if a table of that name already exists in the target schema unless a RENAME TO clause is used. The recycle bin must be enabled for the dropped table to have been retained. Multiple recycle-bin entries with the same original name do not prevent recovery; Oracle restores the most recently dropped entry. For a table in another schema, Oracle documents that Flashback Drop requires the privileges needed to drop that table, rather than FLASHBACK ANY TABLE alone.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!