adplus-dvertising
frame-decoration

Question

Point out the correct statement.

a.

ROLLBACK TRANSACTION with a savepoint_name or transaction_name rolls back to the beginning of the transaction

b.

A ROLLBACK TRANSACTION statement does produce any messages to the user

c.

Issuing a COMMIT TRANSACTION when @@TRANCOUNT is 0 results in an error

d.

All of the mentioned

Posted under SQL Server

Answer: (c).Issuing a COMMIT TRANSACTION when @@TRANCOUNT is 0 results in an error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the correct statement.

Similar Questions

Discover Related MCQs

Q. ____________ is the preferred statement for indicating errors in the transaction.

Q. Which of the following query deletes a job candidate?

Q. Point out the wrong statement.

Q. A ROLLBACK TRANSACTION statement specifying a savepoint_name releases any locks that are acquired beyond the savepoint, with the exception of __________

Q. What is the fundamental difference between COMMIT and COMMIT WORK?

Q. Implicit transactions are maintained by SQL Server for ___________

Q. ROLLBACK WORK always rolls back to the outermost BEGIN TRANSACTION statement for ___________ transactions.

Q. Which of the following condition will ignore the request to enable delayed durability?

Q. Which of the following resource can be locked in SQL Server?

Q. Point out the correct statement.

Q. ______________ allow concurrent transactions to read (SELECT) a resource.

Q. Which is the most restrictive isolation level in transaction?

Q. Point out the wrong statement.

Q. __________ locks allow processes to bulk copy data concurrently into the same table.

Q. Which of the following locking hint is similar to NOLOCK?

Q. Which of the following mode indicates the intention of the transaction to read all of the resources lower in the hierarchy?

Q. Which of the following lock is incompatible with all lock modes?

Q. Which of the following mode has exclusive range and exclusive resource lock?

Q. Which of the following design strategy can reduce the occurrence of blocking locks?

Q. Point out the correct statement.