Obtaining General Information About Linked Servers
You can use both SQL Server Management Studio and the system stored procedures to gather information about linked servers and the referenced data sources. Following are some of the most-often-used system stored procedures:
sp_linkedservers—This returns a list of linked servers defined on the local server.
sp_catalogs—This displays a list of catalogs and descriptions for a specified linked server.
sp_indexes—This shows index information for a specified remote table.
sp_primarykeys—This returns ...
Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.