Linked Servers

Is there a way to view what servers / ad are already linked in SQL 2005
LVL 2
jimseiwertAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
in a query:

select * from master.sys.servers
where name <> @@SERVERNAME
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
yes. in server objects -> linked servers.
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
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.