Solved

Remote Query in SQL 6.5

Posted on 2000-04-25
1
219 Views
Last Modified: 2006-11-17
Hi,
I have two computers with sql server version 6.5. both of them have a databse called tmp.
i registred the first sql server to the other.
i want to run a script which query the second databse (on the remote server). i don't know how to define the other sql server. for instance

select * from RemoteServer.tmp ????
0
Comment
Question by:nirkr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
crsankar earned 100 total points
ID: 2746998
When you are using a remote query you have to use a a four part name as in

select * from server.database.user.table

e.g.

select * from remoteserver.northwind.dbo.products

Hope this helps


0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question