Is it True that can't join tables from different servers?
https://stackoverflow.com/questions/32272091/joining-two-tables-from-different-servers-using-linq
According to this, it's not possible. If it is, what is the syntax? I have a connection that used additional linked servers but don't know how to differentiate primary connection and additional one when it is a different server
According to this, it's not possible. If it is, what is the syntax? I have a connection that used additional linked servers but don't know how to differentiate primary connection and additional one when it is a different server
from p in TableInPrimaryServer
join r in TableInSecondaryServer.RM00101s on p.PHONE equals r.PHONE1
Comments
http://www.linqpad.net/FAQ.aspx#cross-database
Here's how to link SQL Servers:
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-addlinkedserver-transact-sql
join r in TableInSecondaryServer.RM00101s on p.PHONE equals r.PHONE1