[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Linked Servers

Is there a way to view what servers / ad are already linked in SQL 2005
0
jimseiwert
Asked:
jimseiwert
  • 2
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
yes. in server objects -> linked servers.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
in a query:

select * from master.sys.servers
where name <> @@SERVERNAME
0
 
DBAduck - Ben MillerPrincipal ConsultantCommented:
And it should be available by executing

EXEC sp_helpserver

0
 
BrandonGalderisiCommented:
or:
select * from master.sys.sysservers
where srvid=0

All of these are viable approaches and points should be awarded to those who answered first.  srvid=0 is always the local server.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now