Oracle
1Z0-063 · Question #136
Examine the commands: SQL> ALTER SESSION SET RECYCLBIN = ON; Session altered. SQL> DROP TABLE emp; --(First EMP table) Total dropped. SQL> CREATE TABLE emp (id NUMBER CONSTRAINT emp_id_idx PRIMARY…
The correct answer is A. It recovers the structure, data, and indexes of the first emp table. See the full explanation below for the reasoning.
Question
Examine the commands: SQL> ALTER SESSION SET RECYCLBIN = ON; Session altered. SQL> DROP TABLE emp; --(First EMP table) Total dropped. SQL> CREATE TABLE emp (id NUMBER CONSTRAINT emp_id_idx PRIMARY KEY, name VARCHAR2 (15), salary NUMBER(7,2) ); Table created. You then execute multiple INSERT statements to insert rows into EMP table and drop the table again: SQL> DROP TABLE emp; -- (Second EMP table) Table dropped. SQL> FLASHBACK TABLE emp TO BEFORE DROP; Which statement is true about the FLASHBACK command?
Options
- AIt recovers the structure, data, and indexes of the first emp table.
- BIt recovers only the structure of the second emp table.
- CIt returns an error because two tables with the same name exist in the recycle bin.
- DIt recovers the structure, data, and indexes of the second emp table.
How the community answered
(60 responses)- A83% (50)
- B5% (3)
- C2% (1)
- D10% (6)
Community Discussion
No community discussion yet for this question.