Upgrade Oracle DBA 11g to Oracle Database 12c — Question 43

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: A, C

Explanation

Answer A is correct because when you flash back a table, all associated constraints are also restored. Answer C is also correct since triggers defined on the table will be automatically restored with the flashback. The other options are incorrect because indexes are not automatically restored (B), the structure and data are both restored (D), and existing data in the original table is not lost (E).