Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 29dc5fd

Browse files
authored
Merge pull request #7132 from CarlRabeler/more-mi-statements
[sql db] mi applies to
2 parents ada728a + f576fbb commit 29dc5fd

35 files changed

Lines changed: 193 additions & 150 deletions

docs/database-engine/configure-windows/sql-server-service-broker.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "SQL Server Service Broker | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/30/2018"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: high-availability
77
ms.reviewer: ""
@@ -10,13 +10,13 @@ ms.technology: configuration
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
f1_keywords:
13-
- "SQL13.SWB.SSBMSGTYPEPROPERTIES.GENERAL.F1"
14-
- "SQL13.SWB.SSBCONTRACTPROPERTIES.GENERAL.F1"
15-
- "SQL13.SWB.SSBQUEUEPROPERTIES.GENERAL.F1"
16-
- "SQL13.SWB.SSBREMSVCBINDPROPERTIES.GENERAL.F1"
17-
- "SQL13.SWB.SSBROUTEPROPERTIES.GENERAL.F1"
18-
- "SQL13.SWB.SSBPRIORITYPROPERTIES.GENERAL.F1"
19-
- "SQL13.SWB.SSBSERVICEPROPERTIES.GENERAL.F1"
13+
- SQL13.SWB.SSBMSGTYPEPROPERTIES.GENERAL.F1
14+
- SQL13.SWB.SSBCONTRACTPROPERTIES.GENERAL.F1
15+
- SQL13.SWB.SSBQUEUEPROPERTIES.GENERAL.F1
16+
- SQL13.SWB.SSBREMSVCBINDPROPERTIES.GENERAL.F1
17+
- SQL13.SWB.SSBROUTEPROPERTIES.GENERAL.F1
18+
- SQL13.SWB.SSBPRIORITYPROPERTIES.GENERAL.F1
19+
- SQL13.SWB.SSBSERVICEPROPERTIES.GENERAL.F1
2020
helpviewer_keywords:
2121
- "Broker See Service Broker"
2222
- "SQL Server Service Broker"
@@ -34,8 +34,6 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
3434
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] [!INCLUDE[ssSB](../../includes/sssb-md.md)] provides native support for messaging and queuing applications in the [!INCLUDE[ssDEnoversion](../../includes/ssdenoversion-md.md)]. This makes it easier for developers to create sophisticated applications that use the [!INCLUDE[ssDE](../../includes/ssde-md.md)] components to communicate between disparate databases. Developers can use [!INCLUDE[ssSB](../../includes/sssb-md.md)] to easily build distributed and reliable applications.
3535

3636
Application developers who use [!INCLUDE[ssSB](../../includes/sssb-md.md)] can distribute data workloads across several databases without programming complex communication and messaging internals. This reduces development and test work because [!INCLUDE[ssSB](../../includes/sssb-md.md)] handles the communication paths in the context of a conversation. It also improves performance. For example, front-end databases supporting Web sites can record information and send process intensive tasks to queue in back-end databases. [!INCLUDE[ssSB](../../includes/sssb-md.md)] ensures that all tasks are managed in the context of transactions to assure reliability and technical consistency.
37-
38-
[!INCLUDE[ssMIlimitation](../../includes/sql-db-mi-limitation.md)]
3937

4038
## Where is the documentation for Service Broker?
4139
The reference documentation for [!INCLUDE[ssSB](../../includes/sssb-md.md)] is included in the [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)] documentation. This reference documentation includes the following sections:
@@ -54,6 +52,13 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
5452

5553
## What's new in Service Broker
5654
No significant changes are introduced in [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)]. The following changes were introduced in [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)].
55+
56+
### Service broker and Azure SQL Database Managed Instance
57+
58+
- Cross-instance service broker is not supported
59+
- `sys.routes` - Prerequisite: select address from sys.routes. Address must be LOCAL on every route. See [sys.routes](../../relational-databases/system-catalog-views/sys-routes-transact-sql.md).
60+
- `CREATE ROUTE` - you cannot use `CREATE ROUTE` with `ADDRESS` other than `LOCAL`. See [CREATE ROUTE](https://docs.microsoft.com/sql/t-sql/statements/create-route-transact-sql).
61+
- `ALTER ROUTE` cannot use `ALTER ROUTE` with `ADDRESS` other than `LOCAL`. See [ALTER ROUTE](../../t-sql/statements/alter-route-transact-sql.md).
5762

5863
### Messages can be sent to multiple target services (multicast)
5964
The syntax of the [SEND (Transact-SQL)](../../t-sql/statements/send-transact-sql.md) statement has been extended to enable multicast by supporting multiple conversation handles.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<Token>**APPLIES TO:** ![yes](media/yes.png)SQL Server (starting with 2008) ![yes](media/yes.png)Azure SQL Database (Managed Instance only) ![yes](media/no.png)Azure SQL Data Warehouse ![yes](media/yes.png)Parallel Data Warehouse </Token>

docs/includes/tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md renamed to docs/includes/tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md

File renamed without changes.

docs/relational-databases/backup-restore/copy-only-backups-sql-server.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Copy-Only Backups (SQL Server) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/30/2016"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: backup-restore
77
ms.reviewer: ""
@@ -23,8 +23,6 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
2323
# Copy-Only Backups (SQL Server)
2424
[!INCLUDE[appliesto-ss-asdbmi-xxxx-xxx-md](../../includes/appliesto-ss-asdbmi-xxxx-xxx-md.md)]
2525
A *copy-only backup* is a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] backup that is independent of the sequence of conventional [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] backups. Usually, taking a backup changes the database and affects how later backups are restored. However, occasionally, it is useful to take a backup for a special purpose without affecting the overall backup and restore procedures for the database. Copy-only backups serve this purpose.
26-
27-
[!INCLUDE[ssMIlimitation](../../includes/sql-db-mi-limitation.md)]
2826

2927
The types of copy-only backups are as follows:
3028

docs/relational-databases/extended-events/targets-for-extended-events-in-sql-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Targets for Extended Events in SQL Server | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "04/17/2018"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: "database-engine, sql-database"
77
ms.reviewer: ""
@@ -82,7 +82,7 @@ SQL Server extended events can inter-operate with Event Tracing for Windows (ETW
8282
This ETW target processes *synchronously* the data it receives, whereas most targets process *asynchronously*.
8383

8484
> [!NOTE]
85-
> Azure SQL Database does not support the ETW target. Nor does Azure SQL Database Managed Instance.
85+
> Azure SQL Database does not support the `etw_classic_sync_target target`.
8686
8787
<!-- After OPS Versioning is live, the above !NOTE could be converted into a "3colon ZONE". GeneMi = MightyPen. -->
8888

@@ -151,7 +151,7 @@ The **event_file** target writes event session output from buffer to a disk file
151151
::: moniker range="= azuresqldb-current || = azuresqldb-mi-current || = sqlallproducts-allversions"
152152

153153
> [!NOTE]
154-
> Azure SQL Database supports the **event_file** target, but only by using a blob in Azure Storage for the output. SQL Database cannot store event output in a file on your local harddrive.
154+
> Azure SQL Database only supports storing `xel` files on Azure blob storage.
155155
>
156156
> For an **event_file** code example particular to SQL Database (and to SQL Database Managed Instance), see [Event File target code for extended events in SQL Database](https://docs.microsoft.com/azure/sql-database/sql-database-xevent-code-event-file).
157157

docs/relational-databases/system-catalog-views/sys-routes-transact-sql.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "sys.routes (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/30/2018"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: "database-engine"
77
ms.component: "system-catalog-views"
@@ -31,8 +31,6 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
3131

3232
This catalog views contains one row per route. Service Broker uses routes to locate the network address for a service.
3333

34-
[!INCLUDE[ssMIlimitation](../../includes/sql-db-mi-limitation.md)]
35-
3634
|Column name|Data type|Description|
3735
|-----------------|---------------|-----------------|
3836
|**name**|**sysname**|Name of the route, unique within the database. Not NULLABLE.|

docs/relational-databases/system-catalog-views/sys-servers-transact-sql.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "sys.servers (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "06/10/2016"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: "database-engine"
77
ms.component: "system-catalog-views"
@@ -11,10 +11,10 @@ ms.technology: system-objects
1111
ms.tgt_pltfrm: ""
1212
ms.topic: "language-reference"
1313
f1_keywords:
14-
- "servers_TSQL"
15-
- "sys.servers_TSQL"
16-
- "servers"
17-
- "sys.servers"
14+
- servers_TSQL
15+
- sys.servers_TSQL
16+
- servers
17+
- sys.servers
1818
dev_langs:
1919
- "TSQL"
2020
helpviewer_keywords:
@@ -31,13 +31,11 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
3131

3232
Contains a row per linked or remote server registered, and a row for the local server that has **server_id** = 0.
3333

34-
[!INCLUDE[ssMIlimitation](../../includes/sql-db-mi-limitation.md)]
35-
3634
|Column name|Data type|Description|
3735
|-----------------|---------------|-----------------|
3836
|**server_id**|**int**|Local ID of linked server.|
39-
|**name**|**sysname**|When **server_id** = 0, this is the server name.<br /><br /> When **server_id** >0 , this is the local name of linked server.|
40-
|**product**|**sysname**|Product name of the linked server. "SQL Server" indicates this is another instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].|
37+
|**name**|**sysname**|When **server_id** = 0, the returned value is the server name.<br /><br /> When **server_id** > 0, the returned value is the local name of linked server.|
38+
|**product**|**sysname**|Product name of the linked server. A value of "SQL Server" indicates another instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].|
4139
|**provider**|**sysname**|OLE DB provider name for connecting to linked server.|
4240
|**data_source**|**nvarchar(4000)**|OLE DB data source connection property.|
4341
|**location**|**nvarchar(4000)**|OLE DB location connection property. NULL if none.|
@@ -66,13 +64,12 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
6664

6765
Permissions are not required to view the local server (**server_id** = 0).
6866

69-
When you create a linked or remote server, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] creates a default login mapping to the **public** server role. This means that by default, all logins can view all linked and remote servers. To restrict visibility to these servers, remove the default login mapping by executing [sp_droplinkedsrvlogin](../../relational-databases/system-stored-procedures/sp-droplinkedsrvlogin-transact-sql.md) and specifying NULL for the *locallogin* parameter.
70-
71-
If the default login mapping is deleted, only users that have been explicitly added as a linked login or remote login can view the linked or remote servers for which they have a login. To view all linked and remote servers after the default login mapping is deleted requires the following permissions:
67+
When you create a linked or remote server, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] creates a default login mapping to the **public** server role. Default login mapping means that all logins can view all linked and remote servers. To restrict visibility to these servers, remove the default login mapping by executing [sp_droplinkedsrvlogin](../../relational-databases/system-stored-procedures/sp-droplinkedsrvlogin-transact-sql.md) and specifying NULL for the *locallogin* parameter.
7268

73-
- ALTER ANY LINKED SERVER or ALTER ANY LOGIN ON SERVER
69+
If the default login mapping is deleted, only users that have been explicitly added as a linked login or remote login can view the linked or remote servers for which they have a login. The following permissions are required to view all linked and remote servers after the default login mapping:
7470

75-
- Membership in the **setupadmin** or **sysadmin** fixed server roles
71+
- `ALTER ANY LINKED SERVER` or `ALTER ANY LOGIN ON SERVER`
72+
- Membership in the **setupadmin** or **sysadmin** fixed server roles
7673

7774
## See Also
7875
[Catalog Views &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/catalog-views-transact-sql.md)

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "sp_configure (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/16/2016"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: "database-engine, pdw"
77
ms.component: "system-stored-procedures"
@@ -25,12 +25,10 @@ manager: craigg
2525
monikerRange: ">=aps-pdw-2016||=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017"
2626
---
2727
# sp_configure (Transact-SQL)
28-
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-pdw-md](../../includes/tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md)]
28+
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-pdw-md](../../includes/tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md)]
2929

3030
Displays or changes global configuration settings for the current server.
3131

32-
[!INCLUDE[ssMIlimitation](../../includes/sql-db-mi-limitation.md)]
33-
3432
> [!NOTE]
3533
> For database-level configuration options, see [ALTER DATABASE SCOPED CONFIGURATION &#40;Transact-SQL&#41;](../../t-sql/statements/alter-database-scoped-configuration-transact-sql.md). To configure Soft-NUMA, see [Soft-NUMA &#40;SQL Server&#41;](../../database-engine/configure-windows/soft-numa-sql-server.md).
3634

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "sp_dropserver (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/14/2017"
4+
ms.date: "09/07/2018"
55
ms.prod: sql
66
ms.prod_service: "database-engine"
77
ms.component: "system-stored-procedures"
@@ -29,24 +29,21 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016||=sqlallproducts-allver
2929

3030
Removes a server from the list of known remote and linked servers on the local instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
3131

32-
[!INCLUDE[ssMIlimitation](../../includes/sql-db-mi-limitation.md)]
33-
34-
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
32+
![link icon](../../database-engine/configure-windows/media/topic-link.gif "link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
3533

3634
## Syntax
3735

38-
```
39-
36+
```sql
4037
sp_dropserver [ @server = ] 'server'
4138
[ , [ @droplogins = ] { 'droplogins' | NULL} ]
4239
```
4340

4441
## Arguments
45-
[ **@server =** ] **'***server***'**
42+
*server*
4643
Is the server to be removed. *server* is **sysname**, with no default. *server* must exist.
4744

48-
[ **@droplogins =** ] **'droplogins'** | NULL
49-
Indicates that related remote and linked server logins for *server* must also be removed if **droplogins** is specified. **@droplogins** is **char(10)**, with a default of NULL.
45+
*droplogins*
46+
Indicates that related remote and linked server logins for *server* must also be removed if **droplogins** is specified. **`@droplogins`** is **char(10)**, with a default of NULL.
5047

5148
## Return Code Values
5249
0 (success) or 1 (failure)

docs/sql-server/applies-to-includes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ These applies-to includes specify which versions of SQL the documentation applie
7171
| tsql-appliesto-ss2008-all-md.md | `[!INCLUDE[tsql-appliesto-ss2008-all-md.md](../includes/tsql-appliesto-ss2008-all-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-all-md.md](../includes/tsql-appliesto-ss2008-all-md.md)] |
7272
| tsql-appliesto-ss2008-asdb-asdw-xxx-md.md | `[!INCLUDE[tsql-appliesto-ss2008-asdb-asdw-xxx-md.md](../includes/tsql-appliesto-ss2008-asdb-asdw-xxx-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-asdb-asdw-xxx-md.md](../includes/tsql-appliesto-ss2008-asdb-asdw-xxx-md.md)] |
7373
| tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md | `[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md](../includes/tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md](../includes/tsql-appliesto-ss2008-asdbmi-xxxx-xxx-md.md)] |
74-
| tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md | `[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md](../includes/tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md](../includes/tsql-appliesto-ss2008-asdbmi-xxxx-pwd-md.md)] |
74+
| tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md | `[!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md](../includes/tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md](../includes/tsql-appliesto-ss2008-asdbmi-xxxx-pdw-md.md)] |
7575
| tsql-appliesto-ss2008-asdb-xxxx-pdw-md.md | `[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-pdw-md.md](../includes/tsql-appliesto-ss2008-asdb-xxxx-pdw-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-pdw-md.md](../includes/tsql-appliesto-ss2008-asdb-xxxx-pdw-md.md)] |
7676
| tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md | `[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md](../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md](../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)] |
7777
| tsql-appliesto-ss2008-xxxx-asdw-pdw-md.md | `[!INCLUDE[tsql-appliesto-ss2008-xxxx-asdw-pdw-md.md](../includes/tsql-appliesto-ss2008-xxxx-asdw-pdw-md.md)]` | [!INCLUDE[tsql-appliesto-ss2008-xxxx-asdw-pdw-md.md](../includes/tsql-appliesto-ss2008-xxxx-asdw-pdw-md.md)] |

0 commit comments

Comments
 (0)