To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Related Sites > SQL Course

SQL Course SQL Course > Ask questions about the lessons on SQL Course 1 and 2. If you have problems > with the interface, please post in the Feedback forum

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 12-12-2002, 06:18 AM
agneshuang agneshuang is offline
Junior Member
 
Join Date: Dec 2002
Location: Taiwan, R.O.C.
Posts: 2
Question How to select table data from different SQL Servers?

I have to access data between two SQL Servers(version 6.5), how to perform it?
Reply With Quote
  #2  
Old 12-12-2002, 09:35 AM
skhanal skhanal is offline
Experts
 
Join Date: Nov 2002
Location: New Jersey, USA
Posts: 3,369
In SQL 6.5 you can't directly access a table in another server while connecting to one.

But you can execute a stored procedure in another server and fetch data. To do this you need to setup remote logins in the remote server (see sp_addremotelogin in BOL).

If you want to join tables from two servers in a query then only option is to connect to a SQL 7.0/2K server which has linked server configured to both SQL 6.5 servers.
Reply With Quote
  #3  
Old 12-13-2002, 02:13 AM
agneshuang agneshuang is offline
Junior Member
 
Join Date: Dec 2002
Location: Taiwan, R.O.C.
Posts: 2
Question

Does it mean I can fetch table data on another server by executing a stored procedure on another server while connecting to one server? If yes, how to perform it?
Reply With Quote
Reply Post New Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -5. The time now is 07:10 AM.


DatabaseJournal Recent Articles


 » Preparing To Upgrade Access Tables to SQL ...

 » Microsoft Windows PowerShell and SQL Serve...

 » New MySQL Enterprise with Query Analyzer B...

 » Quest Software Strengthens Committment to ...

 » Oracle Unveils New Event-Driven Middleware...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.