?
Solved

linked servers in SQL Server

Posted on 2014-04-10
7
Medium Priority
?
511 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 2000 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this article, we’ll look at how to deploy ProxySQL.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
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.
Suggested Courses

801 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