You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
21
21
22
22
> [!IMPORTANT]
23
23
> [!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
+
>
25
25
> View the following video to find out about cross-platform availability groups with DH2i.
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
190
190
191
191
> [!NOTE]
192
192
> 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
+
>
194
194
> This behavior applies to Azure Marketplace images.
195
-
>
195
+
>
196
196
> For more information about automatic seeding, see [Automatic Seeding - Disk Layout](../database-engine/availability-groups/windows/automatic-seeding-secondary-replicas.md#disklayout).
197
197
198
198
Before you run the script, update the values for your AGs.
Copy file name to clipboardExpand all lines: docs/sql-server/applies-to-includes.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Explanation of SQL Server includes files for versioning and applies
4
4
author: MashaMSFT
5
5
ms.author: mathoma
6
6
ms.reviewer: randolphwest
7
-
ms.date: 05/26/2025
7
+
ms.date: 12/15/2025
8
8
ms.service: sql
9
9
ms.subservice: release-landing
10
10
ms.topic: article
@@ -18,7 +18,7 @@ This article is meant to be used as a reference point for just the first two typ
18
18
19
19
## SQL Server version include files
20
20
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.
22
22
23
23
| SQL Server version | File name | Markdown example | Text |
24
24
| --- | --- | --- | --- |
@@ -34,7 +34,7 @@ SQL Content writers frequently need to include the name of the product and versi
34
34
| SQL Server 2017 | sssql17-md.md |`[!INCLUDE [sssql17-md](../includes/sssql17-md.md)]`|[!INCLUDE [sssql17-md](../includes/sssql17-md.md)]|
35
35
| SQL Server 2019 | sssql19-md.md |`[!INCLUDE [sssql19-md](../includes/sssql19-md.md)]`|[!INCLUDE [sssql19-md](../includes/sssql19-md.md)]|
36
36
| 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)]|
38
38
| SQL Server vNext | sssql22-md.md |`[!INCLUDE [sssql22-md](../includes/sssql22-md.md)]`|[!INCLUDE [sssql22-md](../includes/sssql22-md.md)]|
39
39
40
40
## SQL Server applies-to (non-version-specific)
@@ -53,8 +53,6 @@ These applies-to include files specify which versions of SQL the documentation a
Copy file name to clipboardExpand all lines: docs/sql-server/sql-server-docs-contribute.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: "How to contribute to SQL Server Documentation"
4
4
author: MikeRayMSFT
5
5
ms.author: mikeray
6
6
ms.reviewer: randolphwest
7
-
ms.date: 05/26/2025
7
+
ms.date: 12/15/2025
8
8
ms.service: sql
9
9
ms.subservice: release-landing
10
10
ms.topic: how-to
@@ -39,10 +39,10 @@ The following steps summarize the process:
39
39
1. On the page you have feedback about, select the **Pencil** icon at the top right.
40
40
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.
41
41
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).
43
43
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.
46
46
1. Select **Propose file change**.
47
47
1. On the **Comparing changes** page, select **Create pull request**.
48
48
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
111
111
- For a list of commonly used includes, see [SQL Server include files for versioning and applies-to](applies-to-includes.md).
112
112
- 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).
113
113
- 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.
116
115
117
116
## Contributor resources
118
117
@@ -123,7 +122,7 @@ To find the correct applies-to include file for your article, use the following
123
122
> [!TIP]
124
123
> If you have product feedback rather than documentation feedback, [provide feedback](https://feedback.azure.com/forums/908035-sql-server).
125
124
126
-
## Related content
125
+
## Next step
127
126
128
127
Explore the [sql-docs repository](https://github.com/MicrosoftDocs/sql-docs) on GitHub.
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.
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).
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).
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:
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:
0 commit comments