If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > join between two tables in different databases

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-11, 20:49
sidhu688 sidhu688 is offline
Registered User
 
Join Date: Mar 2011
Posts: 2
join between two tables in different databases

Hello, New to sql so need a little help.I have to join two tables which are in two different databases which are on different servers..can someone please tell me how can i do that.

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-28-11, 20:50
EngadaSQL EngadaSQL is offline
Registered User
 
Join Date: Mar 2009
Location: Australia
Posts: 113
Reply With Quote
  #3 (permalink)  
Old 03-28-11, 21:01
sidhu688 sidhu688 is offline
Registered User
 
Join Date: Mar 2011
Posts: 2
This link has just one more link and that is linked server's and the question was asked for sql server 2008..is that the same route i have to follow..A sql example if you can give would be very helpful.

Thanks
Reply With Quote
  #4 (permalink)  
Old 03-28-11, 21:56
EngadaSQL EngadaSQL is offline
Registered User
 
Join Date: Mar 2009
Location: Australia
Posts: 113
Yes, look at linked servers, they are the same in SQL 2005.
Reply With Quote
Reply

Tags
sql server 2008

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On