The operation could not be performed because OLE DB provider "SQLNCLI11" for linked server "SDSSDFCC" was unable to begin a distributed transaction.
Question:
SQL SERVER 通过Linkserver连接A和B 2台,A对B执行单条的增删改查没有异常(没有配置DTC)

但是开启事务后就会出现报错

Solution:
在A和B上配置DTC(控制面板→管理工具→组件服务),配置参数如下:

再次测试无异常

开启事务前Set XACT_ABORT ON 否则会报以下异常

Codeforces 873B-Balanced Substring
codeforces 868C
51nod 1402 最大值(贪心)
最小正子段和 贪心
codeforces 819B
Codeforces 785D
Codeforces 864E
863D
UVA 1380 A Scheduling Problem