Solved

Remote Query in SQL 6.5

Posted on 2000-04-25
1
217 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

825 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