Oracle
1Z0-047 · Question #175
Evaluate the following DELETE statement: DELETE FROM orders; There are no other uncommitted transactions on the ORDERS table. Which statement is true about the DELETE statement?
The correct answer is A. It removes all the rows in the table and allows ROLLBACK. See the full explanation below for the reasoning.
Question
Evaluate the following DELETE statement:
DELETE FROM orders; There are no other uncommitted transactions on the ORDERS table. Which statement is true about the DELETE statement?
Options
- AIt removes all the rows in the table and allows ROLLBACK.
- BIt would not remove the rows if the table has a primary key.
- CIt removes all the rows as well as the structure of the table.
- DIt removes all the rows in the table and does not allow ROLLBACK.
How the community answered
(26 responses)- A81% (21)
- B4% (1)
- C4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.