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

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

posted @ 2020-01-16 13:54  JinweiChang  阅读(371)  评论(0编辑  收藏  举报