Possible Duplicate:
Selecting data from two different servers in SQL Server
How can I join two tables, which are located two different SQL Server instances, in one query?
This question is related to
sql-server
join
multiple-instances
If you are using SQL Server try Linked Server
You can create a linked server and reference the table in the other instance using its fully qualified Server.Catalog.Schema.Table name.
Source: Stackoverflow.com