开发者

diff between application transaction scope and sql server transaction

开发者 https://www.devze.com 2022-12-11 20:51 出处:网络
I want to know: diff between application transaction scope and sql server transac开发者_C百科tion.

I want to know:

  1. diff between application transaction scope and sql server transac开发者_C百科tion.
  2. where to use application transaction
  3. where to use sql server transaction


A transaction is a combination of actions, that are either all done, or not done. This applies to both cases.

For instance, an SQL Server transaction can be multiple SQL statemnets, which are either all executed, or none are executed.

An application transaction may be multiple actions like: remove a button from the user interface, and add another button. Putting those two actions into an application transaction would ensure, that there is always one button present.

Application transaction may include the execution of database transactions.

0

精彩评论

暂无评论...
验证码 换一张
取 消