QuestionQ74

VerifiedManipulating Data

Evaluate the SQL statement:

TRUNCATE TABLE DEPT;  

Which three statements are true about this SQL statement?

Choose three
Explanation

TRUNCATE TABLE removes all rows without dropping the table definition, so its metadata remains available for DESCRIBE. In the legacy Oracle behavior tested here, it releases the table’s storage space and is DDL with no rollback information, so the row removal cannot be rolled back. The table owner, or a user granted DELETE ANY TABLE, can issue the truncation under that legacy privilege model.

Learn more

Community Discussion

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