SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Query between servers...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MikeO
Starting Member

1 Posts

Posted - 12/12/2005 :  10:55:11  Show Profile  Reply with Quote
We have 2 SQL Servers running, each with different corp. databases. We now have a need to build queries using data from BOTH databases. They don't seem to want to talk to each other, is it possible something was missed on the set-up of 1 or both of the servers?

TIA for the help, I'm the only DB guy here - Admin/Server setup is a learning experience, and much of this was inherited!

Srinika
Flowing Fount of Yak Knowledge

Sri Lanka
1378 Posts

Posted - 12/12/2005 :  11:28:34  Show Profile  Reply with Quote
R those 2 servers running on the same network? Same Workgroup ? Same Domain ?
Can u access one server from the other (in both ways ?)
Do u have same user setup on both machines (A user in SQL Server) ?
While on one server, open query analyzer and access a table in a DB in the other Server!!
Give a feedback to proceed.
Go to Top of Page

Kristen
Test

United Kingdom
22431 Posts

Posted - 12/12/2005 :  14:23:35  Show Profile  Reply with Quote
and:

"They don't seem to want to talk to each other"

How are you currently trying to get them to talk to each other?

Kristen
Go to Top of Page

bakerjon
Posting Yak Master

USA
145 Posts

Posted - 12/12/2005 :  14:28:15  Show Profile  Visit bakerjon's Homepage  Reply with Quote
You can use Linked Servers and do this, or maybe openrowset.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_adda_8gqa.asp
http://doc.ddart.net/mssql/sql70/oa-oz_5.htm

Jon
-Like a kidney stone, this too shall pass.

http://www.sqljunkies.com/weblog/outerjoin
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000