September 16, 2008 at 12:33 am
Can anybody tel me the below query..
Companyxyz.com has multiple servers in a distributed environment. You work with two SQL
Server 2005 computers named SQL1 and SQL2. Each server uses SQL Server Authentication
and they use different logins. You need to write a distributed query that joins the data on SQL1
with the data on SQL2. What should you do?
----------------------------------------------------------------------------------------------------
Mistakes are common.....and i am not an exception....
catch me if i am wrong....
MAK.................!
September 16, 2008 at 6:44 am
You would need to setup Linked Servers on the SQL Servers and either grant login rights to the users on both servers and use "pass-through" authentication or map users on the source server to a specific user on the destination(linked) server that only has permissions needed for these queries.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply