Microsoft® SQL Server 2012 Unleashed
by Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein
sp_linkedservers
To see the linked servers defined within a SQL Server instance, you simply use sp_linkedservers:
EXEC sp_linkedserversGo
The sp_linkedservers execution provides the list of all linked servers on this SQL Server:
SRV_NAME SRV_PROVIDERNAME SRV_PRODUCT SRV_DATASOURCE------------------------- ----------------------- ---------- ---------------------ACCESS_DATABASE_CUSTOMERS Microsoft.Jet.OLEDB.4.0 Access C:\SQL2012DB\CustomersPlus.mdbDATAXDESIGN-PC\SQL2012DXD02 SQLNCLI SQL Server DATAXDESIGN-PC\SQL2012DXD02DATAXDESIGN-PC\SQL2012DXD32 SQLNCLI SQL Server DATAXDESIGN-PC\SQL2012DXD32Linked ExcelSW Microsoft.Jet.OLEDB.4.0 Jet ExcelC:\ SQL2012DB\SWCustomers.xls ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access