1.

Which TCL command undo all the updates performed by the SQL in the transaction?(a) ROLLBACK(b) COMMIT(c) TRUNCATE(d) DELETEI got this question in an online quiz.This is a very interesting question from Basic SQL topic in division Laying the Foundation of SQL Server

Answer»

Right ANSWER is (b) COMMIT

The explanation is: Rollback is USED for undoing the work DONE in the current transaction. This command also releases the locks if any hold by the current transaction.



Discussion

No Comment Found

Related InterviewSolutions