Solved

linked servers in SQL Server

Posted on 2014-04-10
7
493 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
  • 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
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.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how the fundamental information of how to create a table.

856 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