1.

_________ permissions default to any valid user.(a) ROLLBACK WORK(b) ROLLBACK(c) COMMIT(d) None of the mentionedThe question was asked in unit test.My enquiry is from Transaction topic in division Performance Tuning and Optimization of SQL Server

Answer»

The correct option is (a) ROLLBACK WORK

The best explanation: When nesting TRANSACTIONS, ROLLBACK WORK always rolls back to the OUTERMOST BEGIN TRANSACTION statement and decrements the @@TRANCOUNT system FUNCTION to 0.



Discussion

No Comment Found

Related InterviewSolutions