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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-05-03 : 13:07:43
|
| Edward writes "Could I join tables from different Server Group? example: Table A contains ID,Name from Server1Table B contain ID,AID,Transactions from Server2joining ID from Table A to AID of Table B" |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-05-03 : 13:16:19
|
| SELECT a.ID, a.Name, b.ID, b.TransactionsFROM Server1.dbname.dbo.TableA aINNER JOIN Server2.dbname.dbo.TableB bON a.ID = b.AIDJust setup a linked server on Server1 that links to Server2.Tara |
 |
|
|
|
|
|