Solved

linked servers in SQL Server

Posted on 2014-04-10
7
502 Views
Last Modified: 2014-04-16
In a SQL server, where can you see what linked servers are configured, and under which account? For what reasons do people set up linked servers, and what are the risks associated with setting up a linked server via an account with high permissions? Is there a SQL Server that can query linked server settings?
0
Comment
Question by:pma111
[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
  • 4
  • 3
7 Comments
 
LVL 5

Accepted Solution

by:
jayakrishnabh earned 500 total points
ID: 39991895
Find the available linked servers under "Server Objects -> Linked Servers"
Linked servers are generally used to get the data from different server tables just like querying from different database of same server. If high permissions are given, delete or update of other database data is possible.

Query to find linked servers :
SELECT * FROM sys.servers WHERE is_linked = 1
0
 
LVL 3

Author Comment

by:pma111
ID: 39991969
Will the above query list which account is used in the link
0
 
LVL 3

Author Comment

by:pma111
ID: 39992000
And are these links those which allow our users to access a remote server or vice versa allows remote users to access our server
0
Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

 
LVL 3

Author Comment

by:pma111
ID: 39993580
Any views on the follow up questions?
0
 
LVL 5

Expert Comment

by:jayakrishnabh
ID: 39993684
Yes, access to remote server and vice versa is allowed. Account will not be listed in the query result.
0
 
LVL 3

Author Comment

by:pma111
ID: 39993718
So how can you tell which account is used for the link? There must be someway to tell?
0
 
LVL 5

Expert Comment

by:jayakrishnabh
ID: 39993890
Accounts used for the linked server can be found from the linkedserver properties window or create script of that
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Viewers will learn how the fundamental information of how to create a table.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

717 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