Skip to content

Commit ed54add

Browse files
Merge pull request #36684 from MicrosoftDocs/main
Auto Publish – main to live - 2026-02-23 18:48 UTC
2 parents 06f43b4 + cf62b5e commit ed54add

12 files changed

Lines changed: 80 additions & 38 deletions

File tree

azure-sql/managed-instance/vnet-subnet-determine-size.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Use the following list of considerations when determining the size of your subne
4848
Use the following parameters to help form a calculation:
4949

5050
- Azure uses five IP addresses in the subnet for its own needs.
51-
- Each [VM group](virtual-cluster-architecture.md#number-of-vm-groups) allocates six more addresses.
51+
- Each [VM group](virtual-cluster-architecture.md#number-of-vm-groups) allocates eight more addresses.
5252
- The number of addresses that each SQL managed instance uses, depends on the service tier.
5353
- General Purpose SQL managed instance uses three addresses
5454
- Business Critical SQL managed instance uses five addresses

docs/linux/business-continuity/high-availability/configure-custom-logic.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ms.date: 02/04/2026
88
ms.service: sql
99
ms.subservice: linux
1010
ms.topic: design-pattern
11+
ms.custom:
12+
- linux-related-content
1113
---
1214
# Configure SQL Server availability group with custom high availability logic on Linux
1315

docs/linux/sql-server-linux-containers-ad-auth-adutil-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ ms.date: 07/11/2025
88
ms.service: sql
99
ms.subservice: linux
1010
ms.topic: tutorial
11-
monikerRange: ">=sql-server-linux-2017 || >=sql-server-2017 || =sqlallproducts-allversions"
1211
ms.custom:
1312
- linux-related-content
1413
- sfi-image-nochange
1514
- sfi-ropc-blocked
15+
monikerRange: ">=sql-server-linux-2017 || >=sql-server-2017 || =sqlallproducts-allversions"
1616
---
1717

1818
# Tutorial: Configure Active Directory authentication with SQL Server on Linux containers

docs/linux/sql-server-linux-replication-non-default-ports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ author: rwestMSFT
66
ms.author: randolphwest
77
ms.reviewer: vanto
88
ms.date: 01/21/2025
9-
ai-usage: ai-assisted
109
ms.service: sql
1110
ms.subservice: linux
1211
ms.topic: how-to
1312
ms.custom:
1413
- linux-related-content
14+
ai-usage: ai-assisted
1515
monikerRange: ">=sql-server-ver15 || >=sql-server-linux-ver15"
1616
---
1717
# Configure replication with nondefault ports (SQL Server Linux)

docs/linux/sql-server-linux-security-permissions-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Security and Permissions Guide for SQL Server on Linux
3-
description: Learn about the required service accounts, and filesystem permissions for SQL Server on Linux.
3+
description: Learn about the required service accounts, and file system permissions for SQL Server on Linux.
44
author: rwestMSFT
55
ms.author: randolphwest
66
ms.date: 10/14/2025

docs/relational-databases/errors-events/mssqlserver-17892-database-engine-error.md

Lines changed: 46 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ description: "MSSQLSERVER_17892"
44
author: suresh-kandoth
55
ms.author: sureshka
66
ms.reviewer: jopilov, mathoma
7-
ms.date: 08/20/2020
7+
ms.date: 02/06/2026
8+
ai-usage: ai-assisted
89
ms.service: sql
910
ms.subservice: supportability
1011
ms.topic: "reference"
@@ -27,7 +28,7 @@ helpviewer_keywords:
2728

2829
## Explanation
2930

30-
Error 17892 is raised when a logon trigger code cannot execute successfully. [Logon Triggers](../triggers/logon-triggers.md) fire stored procedures in response to a LOGON event. This event is raised when a user session is established with an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. An error message like the following is reported to the user:
31+
Error 17892 is raised when a logon trigger code cannot execute successfully. [Logon Triggers](../triggers/logon-triggers.md) fire stored procedures in response to a LOGON event. This event is raised when a user session is established with an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. The following error message is reported to the user:
3132

3233
> Msg 17892, Level 14, State 1, Server \<Server Name>, Line 1
3334
Logon failed for login \<Login Name> due to trigger execution.
@@ -41,7 +42,7 @@ The problem could occur if there is an error when executing trigger code for tha
4142

4243
## User action
4344

44-
You can use one of the resolutions below depending on the scenario you are in.
45+
You can use one of the following resolutions depending on your scenario:
4546

4647
- **Scenario 1**: You currently have access to an open session to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] under an admin account
4748

@@ -51,32 +52,56 @@ You can use one of the resolutions below depending on the scenario you are in.
5152

5253
- Example 2: If an object referred to by the trigger code does exist but users do not have permissions, grant them the necessary privileges to access the object.
5354

54-
Alternatively, you can just drop or disable the login trigger so that users can continue to log in to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
55+
Alternatively, you can just drop or disable the login trigger so that users can continue to log in to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
56+
57+
### Manage logon triggers
58+
59+
List all logon triggers on your server:
60+
61+
```sql
62+
SELECT name, is_disabled, create_date, modify_date
63+
FROM sys.server_triggers
64+
WHERE type_desc = 'LOGON';
65+
```
66+
67+
Disable a logon trigger temporarily without deleting it:
68+
69+
```sql
70+
DISABLE TRIGGER trigger_name ON ALL SERVER;
71+
```
72+
73+
Drop (delete) a logon trigger permanently:
74+
75+
```sql
76+
DROP TRIGGER trigger_name ON ALL SERVER;
77+
```
78+
79+
For more information, see [Manage trigger security](../triggers/manage-trigger-security.md#trigger-security-best-practices).
5580

5681
- **Scenario 2**: You do not have any current session that is open under admin privileges, but Dedicated Administrator Connection (DAC) is enabled on the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
5782

58-
In this case, you can use the DAC connection to take the same steps as discussed in Case 1 since DAC connections are not affected by Login triggers. For more information on DAC connection, see:
83+
In this case, you can use the DAC connection to take the same steps described in Scenario 1. Logon triggers don't affect DAC connections. For more information on DAC connection, see:
5984
[Diagnostic Connection for Database Administrators](../../database-engine/configure-windows/diagnostic-connection-for-database-administrators.md).
6085

61-
To check whether DAC is enabled on your [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], you can check [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] error log for a message that is similar to the following:
86+
To check whether DAC is enabled, review the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] error log. Look for a message similar to this example:
6287

6388
> 2020-02-09 16:17:44.150 Server Dedicated admin connection support was established for listening locally on port 1434.
6489
65-
- **Scenario 3**: You neither have DAC enabled on your server nor have an existing admin session to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
90+
- **Scenario 3**: DAC isn't enabled on your server, and you don't have an existing admin session to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
6691

6792
In this scenario, the only way to remediate the problem would be to take the following steps:
6893

6994
1. Stop [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] and related services.
70-
2. Start [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] from the [command prompt](/previous-versions/sql/sql-server-2008-r2/ms180965(v=sql.105)) using the startup parameters `-c`, `-m`, and `-f`. Doing this disables the login trigger and lets you perform the same remedial measures that are discussed under **Case 1** above.
95+
2. Start [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] from the [command prompt](/previous-versions/sql/sql-server-2008-r2/ms180965(v=sql.105)) using the startup parameters `-c`, `-m`, and `-f`. This action disables the login trigger and lets you perform the same remedial measures described in Scenario 1.
7196

7297
> [!NOTE]
73-
> The above procedure requires a *SA* or an equivalent administrator account.
98+
> This procedure requires a system administrator (SA) or equivalent administrator account.
7499
75100
For more information about these and other startup options, see: [Database Engine Service Startup Options](../../database-engine/configure-windows/database-engine-service-startup-options.md).
76101

77102
## More information
78103

79-
Another situation where log on triggers fail is when using the `EVENTDATA` function. This function returns XML, and its case sensitive. So, you create the following logon trigger, intending to block access based on IP address, you can ran into the issue:
104+
Logon triggers can also fail when using the `EVENTDATA` function incorrectly. The `EVENTDATA` function returns XML and is case-sensitive. For example, if you create the following logon trigger to block access based on IP address, you might encounter error 17892 if the XML path uses incorrect casing:
80105

81106
```sql
82107
CREATE TRIGGER tr_logon_CheckIP
@@ -95,10 +120,19 @@ Another situation where log on triggers fail is when using the `EVENTDATA` funct
95120
GO
96121
```
97122

98-
User didn't maintain case when copying this script from the internet on this part of the trigger:
123+
If you don't maintain proper case-sensitivity when copying this script, specifically in this part of the trigger, the trigger fails:
99124

100125
```sql
126+
-- Incorrect: lowercase 'event_instance' and 'clienthost' will cause EVENTDATA to return NULL
101127
SELECT EVENTDATA().value ( '(/event_instance/clienthost)[1]' , 'NVARCHAR(15)');
102128
```
103129

104-
As a consequence, `EVENTDATA` always returned **NULL**, and all their SA equivalent logins were denied access. In this case, the DAC connection was not enabled, so we had no choice but to restart the server with the startup parameters listed above to drop the trigger.
130+
As a consequence, `EVENTDATA` always returns **NULL**, and all SA equivalent logins are denied access. In this case, if the DAC connection isn't enabled, you need to restart the server with the startup parameters described earlier to drop the trigger.
131+
132+
## Related content
133+
134+
- [Logon Triggers](../triggers/logon-triggers.md)
135+
- [sys.server_triggers (Transact-SQL)](../../relational-databases/system-catalog-views/sys-server-triggers-transact-sql.md)
136+
- [DISABLE TRIGGER (Transact-SQL)](../../t-sql/statements/disable-trigger-transact-sql.md)
137+
- [DROP TRIGGER (Transact-SQL)](../../t-sql/statements/drop-trigger-transact-sql.md)
138+
- [Manage trigger security](../triggers/manage-trigger-security.md)

docs/sql-server/azure-arc/includes/features-edition.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,26 +43,24 @@ The following table identifies features available by [!INCLUDE [ssnoversion-md](
4343
> [!NOTE]
4444
> This table applies to versions beginning with SQL Server 2025 (17.x). To view earlier versions, use the version selector at the top of the page.
4545
46-
| Feature | Enterprise <sup>1</sup> | Standard <sup>1</sup> | Express | Evaluation |
47-
| --- | --- | --- | --- | --- |
48-
| [Azure pay-as-you-go billing](../manage-configuration.md) | Yes | Yes | Not applicable | Not applicable |
49-
| [Best practices assessment](../assess.md) | Yes | Yes | Yes | Yes |
50-
| [Migration readiness (preview)](../migration-assessment.md) | Yes | Yes | Yes | Yes |
51-
| [Detailed inventory](../view-inventory.md#inventory-databases) | Yes | Yes | Yes | Yes |
52-
| [Microsoft Entra authentication](../../../relational-databases/security/authentication-access/azure-ad-authentication-sql-server-overview.md) | Yes | Yes | Yes | Yes |
53-
| [Microsoft Defender for Cloud](/azure/defender-for-cloud/defender-for-sql-usage) | Yes | Yes | Yes <sup>2</sup> | Yes |
54-
| [Microsoft Purview: Govern using DevOps and data owner policies](/azure/purview/tutorial-register-scan-on-premises-sql-server) | Yes | Yes | Yes | Yes |
55-
| [Automated backups to local storage (preview)](../backup-local.md) | Yes | Yes | Yes | Yes |
56-
| [Point-in-time restore](../point-in-time-restore.md) | Yes | Yes | Yes | Yes |
57-
| [Automatic updates](../update.md) | Yes | Yes | Yes | Yes |
58-
| [Failover cluster instances](../support-for-fci.md) | Yes | Yes | Not applicable | Not applicable |
59-
| [Always On availability groups](../manage-availability-group.md) | Yes | Yes | Not applicable | Not applicable |
60-
| [Monitoring (preview)](../sql-monitoring.md) | Yes | Yes | No | No |
61-
| [Client connection summary](../sql-connection-summary.md) | Yes | Yes | Yes | Yes |
62-
| [Operate with least privilege](../configure-least-privilege.md) | Yes | Yes | Yes | Yes |
46+
| Feature | Enterprise | Standard | Express | Enterprise Developer<br /><br />Standard Developer | Evaluation |
47+
| --- | --- | --- | --- | --- | --- |
48+
| [Azure pay-as-you-go billing](../manage-configuration.md) | Yes | Yes | Not applicable | Not applicable | Not applicable |
49+
| [Best practices assessment](../assess.md) | Yes | Yes | Yes | Yes | Yes |
50+
| [Migration readiness](../migration-assessment.md) | Yes | Yes | Yes | Yes | Yes |
51+
| [Detailed inventory](../view-inventory.md#inventory-databases) | Yes | Yes | Yes | Yes | Yes |
52+
| [Microsoft Entra authentication](../../../relational-databases/security/authentication-access/azure-ad-authentication-sql-server-overview.md) | Yes | Yes | Yes | Yes | Yes |
53+
| [Microsoft Defender for Cloud](/azure/defender-for-cloud/defender-for-sql-usage) | Yes | Yes | Yes <sup>1</sup> | Yes | Yes |
54+
| [Microsoft Purview: Govern using DevOps and data owner policies](/azure/purview/tutorial-register-scan-on-premises-sql-server) | Yes | Yes | Yes | Yes | Yes |
55+
| [Automated backups to local storage (preview)](../backup-local.md) | Yes | Yes | Yes | Yes | Yes |
56+
| [Point-in-time restore](../point-in-time-restore.md) | Yes | Yes | Yes | Yes | Yes |
57+
| [Automatic updates](../update.md) | Yes | Yes | Yes | Yes | Yes |
58+
| [Failover cluster instances](../support-for-fci.md) | Yes | Yes | Not applicable | Yes | Not applicable |
59+
| [Always On availability groups](../manage-availability-group.md) | Yes | Yes | Not applicable | Yes | Not applicable |
60+
| [Monitoring (preview)](../sql-monitoring.md) | Yes | Yes | No | No | No |
61+
| [Client connection summary](../sql-connection-summary.md) | Yes | Yes | Yes | Yes | Yes |
62+
| [Operate with least privilege](../configure-least-privilege.md) | Yes | Yes | Yes | Yes | Yes |
6363

64-
<sup>1</sup> SQL Server 2025 (17.x) introduces separate Enterprise Developer and Standard Developer editions of SQL Server. Enterprise Developer has the same features as Enterprise edition, and Standard Developer has the same features as Standard edition.
65-
66-
<sup>2</sup> [Express LocalDB isn't supported.](/azure/purview/register-scan-on-premises-sql-server#supported-capabilities)
64+
<sup>1</sup> [Express LocalDB isn't supported.](/azure/purview/register-scan-on-premises-sql-server#supported-capabilities)
6765

6866
::: moniker-end

docs/tools/sql-database-projects/get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Get Started with SQL Database Projects"
3-
description: "[Article description]."
2+
title: Get Started with SQL Database Projects
3+
description: A SQL database project is a local representation of SQL objects that comprise the schema for a single database, such as tables, stored procedures, or functions.
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: maghan, randolphwest

docs/tools/sql-database-projects/includes/c-sharp-md.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ ms.author: randolphwest
44
ms.date: 01/29/2024
55
ms.service: sql
66
ms.topic: include
7+
ms.collection:
8+
- data-tools
79
---
810
C#

docs/tools/sql-database-projects/includes/non-command-line.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ ms.author: drskwier
44
ms.date: 08/21/2024
55
ms.service: sql
66
ms.topic: include
7+
ms.collection:
8+
- data-tools
79
---
810
This article isn't intended for users who aren't using Visual Studio or VS Code.

0 commit comments

Comments
 (0)