Skip to content

Commit 51fe61a

Browse files
authored
Merge pull request #19416 from MladjoA/patch-3
Patch 3
2 parents c44674b + 293b868 commit 51fe61a

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/relational-databases/system-stored-procedures/sp-addlinkedserver-transact-sql.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "sp_addlinkedserver (Transact-SQL)"
33
title: "sp_addlinkedserver (Transact-SQL) | Microsoft Docs"
44
ms.custom: ""
5-
ms.date: "09/12/2016"
5+
ms.date: "05/26/2021"
66
ms.prod: sql
77
ms.prod_service: "database-engine"
88
ms.reviewer: ""
@@ -95,15 +95,18 @@ Is the unique programmatic identifier (PROGID) of the OLE DB provider that corre
9595
<sup>1</sup> This way of setting up a linked server forces the name of the linked server to be the same as the network name of the remote instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Use *data_source* to specify the server.
9696

9797
<sup>2</sup> "Any" indicates that the product name can be anything.
98-
98+
9999
The [!INCLUDE[msCoName](../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Native Client OLE DB provider is the provider that is used with [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] if no provider name is specified or if [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is specified as the product name. Even if you specify the older provider name, SQLOLEDB, it will be changed to SQLNCLI when persisted to the catalog.
100100

101101
The *data_source*, *location*, *provider_string*, and *catalog* parameters identify the database or databases the linked server points to. If any one of these parameters is NULL, the corresponding OLE DB initialization property is not set.
102102

103103
In a clustered environment, when you specify file names to point to OLE DB data sources, use the universal naming convention name (UNC) or a shared drive to specify the location.
104104

105105
**sp_addlinkedserver** cannot be executed within a user-defined transaction.
106-
106+
107+
> [!IMPORTANT]
108+
> Azure SQL Managed Instance currently supports only SQL Server, SQL Database, and other SQL Managed Instance as remote data sources.
109+
107110
> [!IMPORTANT]
108111
> When a linked server is created by using **sp_addlinkedserver**, a default self-mapping is added for all local logins. For non- [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] providers, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Authenticated logins may be able to gain access to the provider under the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] service account. Administrators should consider using `sp_droplinkedsrvlogin <linkedserver_name>, NULL` to remove the global mapping.
109112

0 commit comments

Comments
 (0)