Which three are true about the SQL statement?

Evaluate the SQL statement:
TRUNCATE TABLE DEPT;
Which three are true about the SQL statement? (Choose three.)

Evaluate the SQL statement:
TRUNCATE TABLE DEPT;
Which three are true about the SQL statement? (Choose three.)

A.
It releases the storage space used by the table.

B.
It does not release the storage space used by the table.

C.
You can roll back the deletion of rows after the statement executes.

D.
You can NOT roll back the deletion of rows after the statement executes.

E.
An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will display an
error.

F.
You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate the DEPT
table

Explanation:
A: The TRUNCATE TABLE Statement releases storage space used by the table,
D: Can not rollback the deletion of rows after the statement executes,
F: You must be the owner of the table or have DELETE ANY TABLE system privilege to truncate the DEPT
table.
Incorrect answer:
C is not trueD is not true
E is not true
Refer: Introduction to Oracle9i: SQL, Oracle University Study Guide, 8-18



Leave a Reply 0

Your email address will not be published. Required fields are marked *