linked servers in SQL Server

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?
LVL 3
pma111Asked:
Who is Participating?
 
jayakrishnabhConnect With a Mentor Commented:
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
 
pma111Author Commented:
Will the above query list which account is used in the link
0
 
pma111Author Commented:
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
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
pma111Author Commented:
Any views on the follow up questions?
0
 
jayakrishnabhCommented:
Yes, access to remote server and vice versa is allowed. Account will not be listed in the query result.
0
 
pma111Author Commented:
So how can you tell which account is used for the link? There must be someway to tell?
0
 
jayakrishnabhCommented:
Accounts used for the linked server can be found from the linkedserver properties window or create script of that
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.