从位于单独服务器上的多个SQL Server数据库连接表 [英] Joining Tables from multiple SQL Server databases located on separate severs

查看:113
本文介绍了从位于单独服务器上的多个SQL Server数据库连接表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

建议的方法是加入位于不同服务器上的数据库的SQL Server数据库表。

What is the recommended way of joining SQL Server database tables located on databases which are on different servers?

所有数据库都在同一个网络上。

All databases will be on the same network.

推荐答案

您可以将服务器设置为链接服务器:

You can set the servers up as linked servers:

http://www.sqlservercentral.com/articles/Video/66413/

您将能够运行引用不同数据库的查询。

You will then be able to run queries that reference the different databases.

这篇关于从位于单独服务器上的多个SQL Server数据库连接表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆