0

How to join two tables from different connections / instances in SQL Server?

Something like this :

select * 
from [connection1].[database].[table] c1
join [connection2].[database].[table] c2 on c1.id = c2.id
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Hisen
  • 13
  • 9

0 Answers0