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 |
|
dowen2003
Starting Member
1 Post |
Posted - 2004-07-26 : 15:34:38
|
| I have two instances of SQL running on the same machine, and would like to create a query that joins tables from both instances. I know that one way of doing this would be to link the servers, and then reference the table that way; is there another way of doing this without linked servers? |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-07-26 : 19:21:04
|
| You have to use linked servers or OPENQUERY.MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-07-28 : 01:29:02
|
| You can use openrowset to access the other instance without a linked server.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-07-28 : 08:10:03
|
There is that. :)MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
|
|
|