O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required