开发者

diff between application transaction scope and sql server transaction

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜