Open In App

ISRO | ISRO CS 2020 | Question 32

Properties of ‘DELETE’ and ‘TRUNCATE’ commands indicate that
(A) After the execution of ‘TRUNCATE’ operation, COMMIT and ROLLBACK statements cannot be performed to retrieve the lost data, while ‘DELETE’ allow it.
(B) After the execution of ‘DELETE’ and ‘TRUNCATE’ operation retrieval is easily possible for the lost data.
(C) After the execution of ‘DELETE’ operation, COMMIT and ROLLBACK statements can be performed to retrieve the lost data, while TRUNCATE do not allow it.
(D) After the execution of ‘DELETE’ and ‘TRUNCATE’ operation no retrieval is possible for the lost data.

Answer: (C)
Explanation: Delete is DML command and can be rolled back (undo).
TRUNCATE is DDL command and can not be rolled back.

Refer – DDL, DQL, DML, DCL and TCL Commands

Option (C) is correct.
Quiz of this Question

Article Tags :