book
Microsoft® SQL Server 2012 Unleashed
by Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein
December 2013
Intermediate to advanced
1872 pages
153h 31m
English
Content preview from Microsoft® SQL Server 2012 UnleashedBecome 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,
Start your free trial



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