adplus-dvertising
frame-decoration

Question

What is the syntax for COMMIT WORK statement in transaction?

a.

COMMIT [ WORK ]
[ ; ]

b.

COMMIT WORK [ WORK ]
[ ; ]

c.

COMMITWORK [ WORK ]
[ ; ]

d.

None of the mentioned

Posted under SQL Server

Answer: (b).COMMIT WORK [ WORK ]
[ ; ]

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the syntax for COMMIT WORK statement in transaction?

Similar Questions

Discover Related MCQs

Q. Point out the wrong statement.

Q. ____________ rolls back a user-specified transaction to the beginning of the transaction.

Q. Which of the following is valid syntax for SAVE TRANSACTION with all the optional parameters?

Q. In _______ transaction we include the DML statements that need to be executed as a unit.

Q. _________ permissions default to any valid user.

Q. If @@TRANCOUNT is 1 ________ makes all data modifications performed since the start of the transaction a permanent part of the database.

Q. Which of the following argument is ignored by database engine in COMMIT TRANSACTION?

Q. Point out the correct statement.

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?