Oracle Database 12c: Advanced Administration — Question 50

Examine the command and its output:
SQL> DROP TABLE EMPLOYEE;
SQL> SELECT object_name AS recycle_name, original_name, type FROM recyclebin;

RECYCLE_NAMEORIGINAL_NAMETYPE -
-------------------------------------------------------------------- binsgk31sj/3akk5hg3j21kl5j3d==$0EMPLOYEE TABLE
You then successfully execute the command:
SQL> FLASHBACK TABLE "BINSgk31sj/3akk5hg3j21kl5j3d==$0" TO BEFORE DROP;
Which two statements are true?

Answer options

Correct answer: B, D

Explanation

Option B is correct because executing the FLASHBACK command restores all the indexes associated with the employee table. Option D is also correct as the command restores the structure but does not retain any data. The other options are incorrect because the FLASHBACK command does not automatically restore constraints (A), triggers (C), or cause loss of existing data (E).