InterviewSolution
Saved Bookmarks
| 1. |
What is the fundamental difference between COMMIT and COMMIT WORK?(a) COMMIT TRANSACTION accepts a user-defined transaction name(b) COMMIT WORK accepts a user-defined transaction name(c) COMMIT TRANSACTION accepts a user-defined function(d) COMMIT WORK accepts a user-defined stored procedureI got this question during an interview for a job.My enquiry is from Transaction in portion Performance Tuning and Optimization of SQL Server |
|
Answer» CORRECT ANSWER is (a) COMMIT TRANSACTION accepts a user-defined transaction name Easiest explanation: COMMIT SYNTAX, with or without specifying the optional keyword WORK, is compatible with SQL-92. |
|