Skip to content

Commit 9b6919b

Browse files
committed
Include file cleanup and article refresh
1 parent ce9039e commit 9b6919b

6 files changed

Lines changed: 163 additions & 147 deletions

docs/linux/sql-server-linux-availability-group-cross-platform.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ description: Learn how to create a SQL Server Always On Availability Group (AG)
44
author: rwestMSFT
55
ms.author: randolphwest
66
ms.reviewer: vanto
7-
ms.date: 07/03/2025
7+
ms.date: 12/15/2025
88
ms.service: sql
99
ms.subservice: linux
1010
ms.topic: how-to
11-
monikerRange: ">=sql-server-2017"
1211
ms.custom:
1312
- linux-related-content
1413
- sfi-image-nochange
14+
monikerRange: ">=sql-server-2017"
1515
---
1616
# Configure SQL Server Always On availability group on Windows and Linux (cross-platform)
1717

18-
[!INCLUDE [tsql-appliesto-sslinux-only](../includes/applies-to-version/sqlserver2017.md)]
18+
[!INCLUDE [sqlserver2017](../includes/applies-to-version/sqlserver2017.md)]
1919

2020
This article explains the steps to create an Always On availability group (AG) with one replica on a Windows server and the other replica on a Linux server.
2121

2222
> [!IMPORTANT]
2323
> [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] cross-platform availability groups, which include heterogeneous replicas with complete high-availability and disaster recovery support, is available with DH2i DxEnterprise. For more information, see [SQL Server Availability Groups with Mixed Operating Systems](https://support.dh2i.com/docs/guides/dxenterprise/sql_server/mssql-ag-mixed-os-qsg).
24-
>
24+
>
2525
> View the following video to find out about cross-platform availability groups with DH2i.
26-
>
26+
>
2727
> [!VIDEO https://learn-video.azurefd.net/vod/player?show=data-exposed&ep=get-started-with-sql-server-ags-across-windows-linux-and-container-replicas]
2828
2929
This configuration is cross-platform because the replicas are on different operating systems. Use this configuration for migration from one platform to the other or disaster recovery (DR). This configuration doesn't support high availability.
@@ -190,9 +190,9 @@ For the scripts in this article, angle brackets `<` and `>` identify values that
190190

191191
> [!NOTE]
192192
> When the Windows instance of SQL Server uses different paths for data and log files, automatic seeding fails to the Linux instance of SQL Server, because these paths don't exist on the secondary replica. To use the following script for a cross-platform AG, the database requires the same path for the data and log files on the Windows server. Alternatively you can update the script to set `SEEDING_MODE = MANUAL` and then back up and restore the database with `NORECOVERY` to seed the database.
193-
>
193+
>
194194
> This behavior applies to Azure Marketplace images.
195-
>
195+
>
196196
> For more information about automatic seeding, see [Automatic Seeding - Disk Layout](../database-engine/availability-groups/windows/automatic-seeding-secondary-replicas.md#disklayout).
197197
198198
Before you run the script, update the values for your AGs.

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Explanation of SQL Server includes files for versioning and applies
44
author: MashaMSFT
55
ms.author: mathoma
66
ms.reviewer: randolphwest
7-
ms.date: 05/26/2025
7+
ms.date: 12/15/2025
88
ms.service: sql
99
ms.subservice: release-landing
1010
ms.topic: article
@@ -18,7 +18,7 @@ This article is meant to be used as a reference point for just the first two typ
1818

1919
## SQL Server version include files
2020

21-
SQL Content writers frequently need to include the name of the product and version of SQL Server. This way, if something changes in the name, the include file is updated instead of manually updating the value in every single article. These include files are used as placeholders for product names but haven't been consistently used in all SQL documentation. SQL Server vNext refers to a future release of SQL that doesn't yet have a version number and is the exception to this.
21+
SQL Content writers frequently need to include the name of the product and version of SQL Server. This way, if something changes in the name, the include file is updated instead of manually updating the value in every single article. These include files are used as placeholders for product names but aren't consistently used in all SQL documentation. SQL Server vNext refers to a future release of SQL Server that doesn't yet have a version number, and is the exception to this rule.
2222

2323
| SQL Server version | File name | Markdown example | Text |
2424
| --- | --- | --- | --- |
@@ -34,7 +34,7 @@ SQL Content writers frequently need to include the name of the product and versi
3434
| SQL Server 2017 | sssql17-md.md | `[!INCLUDE [sssql17-md](../includes/sssql17-md.md)]` | [!INCLUDE [sssql17-md](../includes/sssql17-md.md)] |
3535
| SQL Server 2019 | sssql19-md.md | `[!INCLUDE [sssql19-md](../includes/sssql19-md.md)]` | [!INCLUDE [sssql19-md](../includes/sssql19-md.md)] |
3636
| SQL Server 2022 | sssql22-md.md | `[!INCLUDE [sssql22-md](../includes/sssql22-md.md)]` | [!INCLUDE [sssql22-md](../includes/sssql22-md.md)] |
37-
| SQL Server 2025 | sssql22-md.md | `[!INCLUDE [sssql25-md](../includes/sssql25-md.md)]` | [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] |
37+
| SQL Server 2025 | sssql25-md.md | `[!INCLUDE [sssql25-md](../includes/sssql25-md.md)]` | [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] |
3838
| SQL Server vNext | sssql22-md.md | `[!INCLUDE [sssql22-md](../includes/sssql22-md.md)]` | [!INCLUDE [sssql22-md](../includes/sssql22-md.md)] |
3939

4040
## SQL Server applies-to (non-version-specific)
@@ -53,8 +53,6 @@ These applies-to include files specify which versions of SQL the documentation a
5353
| File name | Markdown example | Image |
5454
| --- | --- | --- |
5555
| applies-to-version/asa-pdw.md | `[!INCLUDE [applies-to-version/asa-pdw.md](../includes/applies-to-version/asa-pdw.md)]` | [!INCLUDE [applies-to-version/asa-pdw.md](../includes/applies-to-version/asa-pdw.md)] |
56-
| tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md | `[!INCLUDE [tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md](../includes/applies-to-version/sqlserver.md)]` | [!INCLUDE [tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md](../includes/applies-to-version/sqlserver.md)] |
57-
| tsql-appliesto-ss2017-xxxx-xxxx-xxx-md.md | `[!INCLUDE [tsql-appliesto-ss2017-xxxx-xxxx-xxx-md.md](../includes/applies-to-version/sqlserver2017.md)]` | [!INCLUDE [tsql-appliesto-ss2017-xxxx-xxxx-xxx-md.md](../includes/applies-to-version/sqlserver2017.md)] |
5856

5957
## Related content
6058

docs/sql-server/sql-server-docs-contribute.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "How to contribute to SQL Server Documentation"
44
author: MikeRayMSFT
55
ms.author: mikeray
66
ms.reviewer: randolphwest
7-
ms.date: 05/26/2025
7+
ms.date: 12/15/2025
88
ms.service: sql
99
ms.subservice: release-landing
1010
ms.topic: how-to
@@ -39,10 +39,10 @@ The following steps summarize the process:
3939
1. On the page you have feedback about, select the **Pencil** icon at the top right.
4040
1. On the next page, select the **Pencil** icon at the top right. If this icon doesn't appear, you might need to sign in to your GitHub account first.
4141
1. On the next page, in the **Edit file** text window, make your edits directly to the text you want to change.
42-
If you need help with formatting the new or changed text, see the [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet).
42+
If you need help with formatting the new or changed text, see the [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet).
4343
1. After you make your edits, under **Commit changes**:
44-
1. In the first text box, enter a brief description of the change you make.
45-
1. In the **Add an optional extended description** box, provide a brief explanation of your change.
44+
1. In the first text box, enter a brief description of the change you make.
45+
1. In the **Add an optional extended description** box, provide a brief explanation of your change.
4646
1. Select **Propose file change**.
4747
1. On the **Comparing changes** page, select **Create pull request**.
4848
1. On the **Open a pull request** page, select **Create pull request**.
@@ -111,8 +111,7 @@ To find the correct applies-to include file for your article, use the following
111111
- For a list of commonly used includes, see [SQL Server include files for versioning and applies-to](applies-to-includes.md).
112112
- Look at other articles that cover the same feature or a related task. If you edit that article, you can copy the Markdown for the applies-to include link (you can cancel the edit without submitting it).
113113
- Search the [docs/includes](https://github.com/MicrosoftDocs/sql-docs/tree/live/docs/includes) directory for files containing the text `applies-to`. You can use the **Find** button in GitHub to quickly filter. Select the file to see how it renders.
114-
- Pay attention to the naming convention. If the name contains multiple `x` characters in the string, they're usually placeholders indicating the lack of support for a service. For example, `appliesto-xx-xxxx-asdw-xxx-md.md` indicates support for only Azure Synapse Analytics, because only `asdw` is spelled out, whereas the other fields are filled with the `x` character.
115-
- Some includes specify a version number, such as `tsql-appliesto-ss2017-xxxx-xxxx-xxx-md.md`. Only use these include files when you know the feature was introduced with a specific version of SQL Server.
114+
- Some includes specify a version number, such as `sql-asdbmi-asa-pdw.md`. Only use this kind of include file when you know the feature was introduced with a specific version of SQL Server.
116115

117116
## Contributor resources
118117

@@ -123,7 +122,7 @@ To find the correct applies-to include file for your article, use the following
123122
> [!TIP]
124123
> If you have product feedback rather than documentation feedback, [provide feedback](https://feedback.azure.com/forums/908035-sql-server).
125124
126-
## Related content
125+
## Next step
127126

128127
Explore the [sql-docs repository](https://github.com/MicrosoftDocs/sql-docs) on GitHub.
129128

docs/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dev_langs:
2424

2525
# Set trace flags with DBCC TRACEON (Transact-SQL)
2626

27-
[!INCLUDE [tsql-appliesto-ss-asdmi-md](../../includes/applies-to-version/sql-asdbmi.md)]
27+
[!INCLUDE [sql-asdbmi](../../includes/applies-to-version/sql-asdbmi.md)]
2828

2929
Trace flags are used to set specific server characteristics or to alter a particular behavior. For example, trace flag 3226 is a commonly used startup trace flag that suppresses successful backup messages in the error log. Trace flags might be used to diagnose or mitigate performance issues, but they might also be recommended by Microsoft to address behavior that is negatively affecting a specific workload. Conversely, Microsoft might recommend that you remove a trace flag if it causes or contributes to a problem affecting your workload.
3030

Lines changed: 55 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: "DROP PARTITION SCHEME (Transact-SQL)"
3-
description: DROP PARTITION SCHEME (Transact-SQL)
3+
description: DROP PARTITION SCHEME removes a partition scheme from the current database.
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/06/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 12/15/2025
78
ms.service: sql
89
ms.subservice: t-sql
910
ms.topic: reference
@@ -20,51 +21,57 @@ dev_langs:
2021
- "TSQL"
2122
---
2223
# DROP PARTITION SCHEME (Transact-SQL)
23-
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md](../../includes/applies-to-version/sql-asdbmi.md)]
24-
25-
Removes a partition scheme from the current database. Partition schemes are created by using [CREATE PARTITION SCHEME](../../t-sql/statements/create-partition-scheme-transact-sql.md) and modified by using [ALTER PARTITION SCHEME](../../t-sql/statements/alter-partition-scheme-transact-sql.md).
26-
27-
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: [Transact-SQL syntax conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
28-
29-
## Syntax
30-
24+
25+
[!INCLUDE [sql-asdbmi](../../includes/applies-to-version/sql-asdbmi.md)]
26+
27+
Removes a partition scheme from the current database. Partition schemes are created by using [CREATE PARTITION SCHEME](create-partition-scheme-transact-sql.md) and modified by using [ALTER PARTITION SCHEME](alter-partition-scheme-transact-sql.md).
28+
29+
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: [Transact-SQL syntax conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
30+
31+
## Syntax
32+
3133
```syntaxsql
32-
DROP PARTITION SCHEME partition_scheme_name [ ; ]
33-
```
34-
34+
DROP PARTITION SCHEME partition_scheme_name
35+
[ ; ]
36+
```
37+
3538
## Arguments
36-
*partition_scheme_name*
37-
Is the name of the partition scheme to be dropped.
38-
39-
## Remarks
40-
A partition scheme can be dropped only if there are no tables or indexes currently using the partition scheme. If there are tables or indexes using the partition scheme, DROP PARTITION SCHEME returns an error. DROP PARTITION SCHEME does not remove the filegroups themselves.
41-
42-
## Permissions
43-
The following permissions can be used to execute DROP PARTITION SCHEME:
44-
45-
- ALTER ANY DATASPACE permission. This permission defaults to members of the **sysadmin** fixed server role and the **db_owner** and **db_ddladmin** fixed database roles.
46-
47-
- CONTROL or ALTER permission on the database in which the partition scheme was created.
48-
49-
- CONTROL SERVER or ALTER ANY DATABASE permission on the server of the database in which the partition scheme was created.
50-
51-
## Examples
52-
The following example drops the partition scheme `myRangePS1` from the current database:
53-
54-
```sql
55-
DROP PARTITION SCHEME myRangePS1;
56-
```
57-
58-
## See Also
59-
[CREATE PARTITION SCHEME &#40;Transact-SQL&#41;](../../t-sql/statements/create-partition-scheme-transact-sql.md)
60-
[ALTER PARTITION SCHEME &#40;Transact-SQL&#41;](../../t-sql/statements/alter-partition-scheme-transact-sql.md)
61-
[sys.partition_schemes &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-partition-schemes-transact-sql.md)
62-
[EVENTDATA &#40;Transact-SQL&#41;](../../t-sql/functions/eventdata-transact-sql.md)
63-
[sys.data_spaces &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-data-spaces-transact-sql.md)
64-
[sys.destination_data_spaces &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-destination-data-spaces-transact-sql.md)
65-
[sys.partitions &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-partitions-transact-sql.md)
66-
[sys.tables &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-tables-transact-sql.md)
67-
[sys.indexes &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-indexes-transact-sql.md)
68-
[sys.index_columns &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-index-columns-transact-sql.md)
69-
70-
39+
40+
#### *partition_scheme_name*
41+
42+
The name of the partition scheme to be dropped.
43+
44+
## Remarks
45+
46+
A partition scheme can be dropped only if there are no tables or indexes currently using the partition scheme. If there are tables or indexes using the partition scheme, `DROP PARTITION SCHEME` returns an error. `DROP PARTITION SCHEME` doesn't remove the filegroups themselves.
47+
48+
## Permissions
49+
50+
The following permissions can be used to execute `DROP PARTITION SCHEME`:
51+
52+
- `ALTER ANY DATASPACE` permission. This permission defaults to members of the **sysadmin** fixed server role and the **db_owner** and **db_ddladmin** fixed database roles.
53+
54+
- `CONTROL` or `ALTER` permission on the database in which the partition scheme was created.
55+
56+
- `CONTROL SERVER` or `ALTER ANY DATABASE` permission on the server of the database in which the partition scheme was created.
57+
58+
## Examples
59+
60+
The following example drops the partition scheme `myRangePS1` from the current database:
61+
62+
```sql
63+
DROP PARTITION SCHEME myRangePS1;
64+
```
65+
66+
## Related content
67+
68+
- [CREATE PARTITION SCHEME (Transact-SQL)](create-partition-scheme-transact-sql.md)
69+
- [ALTER PARTITION SCHEME (Transact-SQL)](alter-partition-scheme-transact-sql.md)
70+
- [sys.partition_schemes (Transact-SQL)](../../relational-databases/system-catalog-views/sys-partition-schemes-transact-sql.md)
71+
- [EVENTDATA (Transact-SQL)](../functions/eventdata-transact-sql.md)
72+
- [sys.data_spaces (Transact-SQL)](../../relational-databases/system-catalog-views/sys-data-spaces-transact-sql.md)
73+
- [sys.destination_data_spaces (Transact-SQL)](../../relational-databases/system-catalog-views/sys-destination-data-spaces-transact-sql.md)
74+
- [sys.partitions (Transact-SQL)](../../relational-databases/system-catalog-views/sys-partitions-transact-sql.md)
75+
- [sys.tables (Transact-SQL)](../../relational-databases/system-catalog-views/sys-tables-transact-sql.md)
76+
- [sys.indexes (Transact-SQL)](../../relational-databases/system-catalog-views/sys-indexes-transact-sql.md)
77+
- [sys.index_columns (Transact-SQL)](../../relational-databases/system-catalog-views/sys-index-columns-transact-sql.md)

0 commit comments

Comments
 (0)