Home » Oracle » 1z0-062 » What is the result of executing a TRUNCATE TABLE command on a table that has Flashback Archiving enabled?
What is the result of executing a TRUNCATE TABLE command on a table that has Flashback Archiving enabled?
A. It fails with the ORA-665610 Invalid DDL statement on history-tracked message
B. The rows in the table are truncated without being archived.
C. The rows in the table are archived, and then truncated.
D. The rows in both the table and the archive are truncated.
Correct Answer: B
Explanation/Reference:
Explanation:
You cannot roll back a TRUNCATE TABLE statement, nor can you use a FLASHBACK TABLE statement to retrieve the contents of a table that has been truncated.
Download Printable PDF. VALID exam to help you PASS.
|
|
Correct answer is C. The table is archived, then truncated. That’s the way you can flashback later on if necessary.