代码改变世界

Multiple Server Query Execution报The result set could not be merged..

2017-08-23 16:48  潇湘隐者  阅读(683)  评论(0编辑  收藏  举报

SQL Server中使用Multiple Server Query Execution这个功能做数据库维护或脚本发布时非常方便,昨天由于磁盘空间原因,删除清理了大量的软件和组件,结果导致SSMS客户端出了问题,重装过后,使用Multiple Server Query Execution时,出现了大量下面错误:

 

 

 

 

An error occurred while executing batch. Error message is: The result set could not be merged because the result schema did not match the schema from the first responding server.

 

 

 

clip_image001

 

 

 

出现这个问题,只需要在SSMS的选项(Options-> Query Results -> MultiServer Results -> Merge results 将这个选项的值从True值修改为False"值。

 

 

 

clip_image002