Distributed Queries stored procedures
14 reference entries
- sp_linkedservers
splinkedservers returns the list of linked servers defined in the local server.
- sp_testlinkedserver
sptestlinkedserver tests the connection to a linked server.
- sys.sp_addlinkedserver
spaddlinkedserver creates a linked server, providing access to distributed, heterogeneous queries against OLE DB data sources.
- sys.sp_addlinkedsrvlogin
Creates or updates a mapping between a login on the local instance of SQL Server and a security account on a remote server.
- sys.sp_catalogs
spcatalogs returns the list of catalogs in the specified linked server.
- sys.sp_column_privileges_ex
spcolumnprivilegesex returns column privileges for the specified table on the specified linked server.
- sys.sp_columns_ex
spcolumnsex returns the column information, one row per column, for the specified linked server tables.
- sys.sp_droplinkedsrvlogin
Removes an existing mapping between a login on the local server running SQL Server, and a login on the linked server.
- sys.sp_dropserver
Removes a server from the list of known remote and linked servers on the local instance of SQL Server.
- sys.sp_foreignkeys
spforeignkeys returns the foreign keys that reference primary keys on the table in the linked server.
- sys.sp_indexes
spindexes returns index information for the specified remote table.
- sys.sp_primarykeys
spprimarykeys returns the primary key columns, one row per key column, for the specified remote table.
- sys.sp_table_privileges_ex
Returns privilege information about the specified table from the specified linked server.
- sys.sp_tables_ex
sptablesex returns table information about the tables from the specified linked server.