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-30 : 10:32:32
|
Hi All.I would like to join table from different servers. One server has windows authentication, the other has SQL Server Athentication. How create query to join tables from two servers and declare username and password?Thanks. |
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2013-09-30 : 10:40:41
|
You need to set up a linked server from one to the other. When you set up the linked server it will let you specify the authenication types and credentials. If you have not done this before, the easiest perhaps is to use the graphical user interface. Right-click on Linked Servers node under Servername -> Server Ojbects in SSMS object explorer. http://technet.microsoft.com/en-us/library/ff772782.aspx |
|
|
|
|
|