最佳答案
在 ManagementStudio 中,我尝试在两个链接服务器之间运行一个查询/执行一个连接。 使用链接数据库服务器是否正确:
select foo.id
from databaseserver1.db1.table1 foo,
databaseserver2.db1.table1 bar
where foo.name=bar.name
基本上,您只是将 db 服务器名称作为 db.table 的前缀吗?