Selecting data from two different servers in SQL Server

后端 未结 15 1703

How can I select data in the same query from two different databases that are on two different servers in SQL Server?

15条回答
  •  醉话见心
    2020-11-22 08:13

    Created a Linked Server definition in one server to the other (you need SA to do this), then just reference them with 4-part naming (see BOL).

提交回复
热议问题