Solved

linked servers in SQL Server

Posted on 2014-04-10
7
475 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now