Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
eugz
Posting Yak Master
210 Posts |
Posted - 2013-09-27 : 16:03:27
|
Hi All.How to join tables on different servers if one server, for instance, SERVER2 required authentication?Thanks. |
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2013-09-27 : 16:10:38
|
Set up a linked server connection to the remote server. See this page for how http://technet.microsoft.com/en-us/library/ff772782.aspx If you have never done it before, it might be easier to use the description under "Using SQL Server Management Studio".When you set up the linked server, the dialogs have places where you can provide the details and authentication information for the remote server.Once you have the linked server set up correctly, you would refer to the remote table using the four part naming convention - ServerName.DatabaseName.SchemaName.Tablename. See here for how that works: http://www.mssqltips.com/sqlservertip/1095/sql-server-four-part-naming/ |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|