QuestionQ141

VerifiedManipulating Data

Evaluate this SQL statement:

DELETE FROM sales;  

There are no other uncommitted transactions on the SALES table.

Which statement is true of the DELETE statement?

Explanation

A DELETE statement with no WHERE clause deletes all rows from the table while leaving the table structure intact. As a DML change, it can be rolled back until the transaction is committed. Oracle Database: About DML Statements and Transactions

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!