开发者

How to set XACT_ABORT within ADO.NET

开发者 https://www.devze.com 2022-12-20 04:06 出处:网络
How can I set XACT_AB开发者_JAVA技巧ORT to ON (or OFF) from within ADO.NET ?Execute SET XACT_ABORT ON or SET XACT_ABORT OFF.There is no client setting: in SQL As Remus said.

How can I set XACT_AB开发者_JAVA技巧ORT to ON (or OFF) from within ADO.NET ?


Execute SET XACT_ABORT ON or SET XACT_ABORT OFF.


There is no client setting: in SQL As Remus said.

SET XACT_ABORT is not a property of the connection, command or transaction and can be set/unset at any time in SQL Code. There is no ado.net options for SET NOCOUNT ON etc.

0

精彩评论

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

关注公众号