码迷,mamicode.com
首页 > 数据库 > 详细

The operation could not be performed because OLE DB provider "SQLNCLI11" for linked server "server_name" was unable to begin a distributed transaction.

时间:2020-01-16 14:46:48      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:name   sqlncli11   form   xxx   into   bsp   href   div   bec   

Question:

 

insert into  #tmp
exec usp_xxxx

报错

    The operation could not be performed because OLE DB provider "SQLNCLI11" for linked server "server_name" was unable to begin a distributed transaction.

 

Answer:

将linkserver Enable Promotion of Distributed Transactions   设为false

 

 

 

参考资料:https://dba.stackexchange.com/questions/193727/using-insert-into-exec-at-linked-server-into-temp-table-fails-with-msg-7391

The operation could not be performed because OLE DB provider "SQLNCLI11" for linked server "server_name" was unable to begin a distributed transaction.

标签:name   sqlncli11   form   xxx   into   bsp   href   div   bec   

原文地址:https://www.cnblogs.com/JinweiChang/p/12200824.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!