Skip to content

Commit 1d65d7f

Browse files
authored
Merge pull request #9749 from haywoodsloan/7530-update-headings
AB#7530: Update headings in 4 SQL articles - AI Headings Optimization Experiment
2 parents 97abef9 + 8de084b commit 1d65d7f

6 files changed

+23
-27
lines changed

support/sql/azure-sql/sql-installation-fails-sector-size-error-azure-vm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To resolve this problem, reinstall SQL Server after forcing the Azure VM to use
5353
To successfully install SQL Server on your Azure VM, follow these steps:
5454

5555
1. If you've already installed SQL Server, uninstall SQL Server. Otherwise, skip to the next step.
56-
1. Add the [ForcedPhysicalSectorSizeInBytes](../database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size.md#resolutions) registry key.
56+
1. Add the [ForcedPhysicalSectorSizeInBytes](../database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size.md#resolution-steps-for-disk-sector-size-errors-in-sql-server) registry key.
5757
1. Verify the sector size is 4 KB by running the following command in an elevated command prompt:
5858

5959
`fsutil fsinfo sectorinfo <volume pathname>`

support/sql/database-engine/connect/certificate-chain-not-trusted.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you recently upgraded your SQL Server Native Client 11.0 (Provider=SQLNCLI11)
1818
1919
> [Microsoft OLE DB Driver 19 for SQL Server]: SSL Provider: The certificate chain was issued by an authority that is not trusted.
2020
21-
### Cause
21+
### Cause of Certificate Chain Trust Error in SNAC applications
2222

2323
These errors occur if both the following conditions are true:
2424

@@ -28,7 +28,7 @@ These errors occur if both the following conditions are true:
2828

2929
The error occurs because of a change in the default behavior of the client drivers. Older versions of client drivers are designed to assume that data encryption is **OFF** by default. The new drivers assume this setting to be **ON** by default. Because data encryption is set to **ON**, the driver tries to validate the server's certificate and fails.
3030

31-
### Solutions
31+
### Solutions for Certificate Chain Trust Error in SNAC applications
3232

3333
- **Solution 1:** Use Microsoft OLE DB Driver for SQL Server 18.x. You can download the driver from [Release notes for the Microsoft OLE DB Driver for SQL Server](/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server).
3434

@@ -48,7 +48,7 @@ If you recently upgraded your SQL Server Native Client 11.0 (Driver={SQL Server
4848
4949
> [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection
5050
51-
### Cause
51+
### Cause of Certificate Chain Trust Error in SNAC applications
5252

5353
These errors occur if both the following conditions are true:
5454

@@ -58,7 +58,7 @@ These errors occur if both the following conditions are true:
5858

5959
The error occurs because of a change in the default behavior of the client drivers. Older versions of client drivers are designed to assume that data encryption is **OFF** by default. The new drivers assume this setting to be **ON** by default. Because data encryption is set to **ON**, the driver tries to validate the server's certificate and fails.
6060

61-
### Solutions
61+
### Solutions for Certificate Chain Trust Error in SNAC applications
6262

6363
- **Solution 1:** Use the Microsoft ODBC Driver 17 for SQL Server. You can download the driver from [Download ODBC Driver for SQL Server](/sql/connect/odbc/download-odbc-driver-for-sql-server).
6464

support/sql/database-engine/connect/network-related-or-instance-specific-error-occurred-while-establishing-connection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.reviewer: jopilov
1111

1212
_Applies to:_ &nbsp; SQL Server
1313

14-
When connecting to a SQL Server instance, you may encounter one or more of the following [error messages](#error-messages). This article provides some steps to help you troubleshoot these errors, which are provided in order of the issues from simple to complex.
14+
When connecting to a SQL Server instance, you may encounter one or more [error messages](#common-sql-server-connection-error-messages). This article explains how to [collect the necessary information](#gather-information-to-troubleshoot-sql-server-connection-errors) to diagnose these issues and outlines a structured troubleshooting approach to help you resolve these issues, starting with basic checks and moving on to more advanced techniques.
1515

16-
## Error messages
16+
## Common SQL Server connection error messages
1717

1818
The complete error messages vary depending on the client library that's used in the application and the server environment. You can check the following details to see if you're encountering one of the following error messages:
1919

@@ -97,7 +97,7 @@ The complete message is:
9797
9898
This message means that SQL Server isn't listening on the Shared Memory or Named Pipes protocol.
9999

100-
## Gather information for troubleshooting the error
100+
## Gather information to troubleshoot SQL Server connection errors
101101

102102
We recommend that you gather the information listed in this section using one of the following options before proceeding with the actual steps to troubleshoot the error.
103103

support/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: WilliamDAssafMSFT
88
ms.author: wiassaf
99
---
1010

11-
# Troubleshoot errors related to system disk sector size greater than 4 KB
11+
# Troubleshoot SQL Server errors related to system disk sector size greater than 4 KB
1212

1313
This article provides solutions for troubleshooting errors during installation or starting an instance of SQL Server on Windows. This article is valid for all released versions of SQL Server.
1414

@@ -76,7 +76,7 @@ You install any version of SQL Server on a Windows 10 device. Then, you upgrade
7676
2021-11-05 23:42:47.14 spid9s There have been 256 misaligned log IOs which required falling back to synchronous IO. The current IO is on file C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\master.mdf.
7777
```
7878

79-
## Scenario 5
79+
## Scenario 5: SQL Server application error from ntdll.dll
8080

8181
You install any version of SQL Server on a Windows 10 device. Then, you upgrade the OS on the device to Windows 11. When you try to start SQL Server on a Windows 11 device, the service fails to start. In the SQL Server error log, you notice the following entries:
8282

@@ -111,7 +111,7 @@ Source : SQLLocalDB 11.0
111111
> [!Note]
112112
> You might encounter the failures mentioned in the previous scenarios for a SQL Server instance you installed manually or on a LocalDB instance installed by applications.
113113
114-
## Cause
114+
## Cause of disk sector size errors in SQL Server
115115

116116
During service startup, SQL Server begins the database recovery process to ensure database consistency. Part of this database recovery process involves consistency checks on the underlying filesystem before you try to open system and user database files.
117117

@@ -138,7 +138,7 @@ Additionally, be aware of the Windows support policy for file system and storage
138138
> [!NOTE]
139139
> There's no released version of SQL Server compatible with sector sizes greater than 4 KB. For more information, see the [Hard disk drive sector-size support boundaries in SQL Server](https://support.microsoft.com/topic/hard-disk-drive-sector-size-support-boundaries-in-sql-server-4d5b73fa-7dc4-1d8a-2735-556e6b60d046) article.
140140
141-
## Resolutions
141+
## Resolution steps for disk sector size errors in SQL Server
142142

143143
- Currently, the `ForcedPhysicalSectorSizeInBytes` registry key is required to successfully install SQL Server when using modern storage platforms, such as NVMe, that provide a sector size larger than 4 KB. This Windows operating system registry key forces the sector size to be emulated as 4 KB.
144144

support/sql/database-engine/performance/performance-degradation-misaligned-io-sector-error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The following screenshot shows the output of the `fsutil fsinfo sectorinfo` comm
5555

5656
## Resolution
5757

58-
If you're experiencing performance degradation due to misaligned I/O operations and can't [modify your sector size](../database-file-operations/troubleshoot-os-4kb-disk-sector-size.md#resolutions), you can use [Trace Flag 1800](/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql#tf1800) as a global startup parameter to force SQL Server to use a consistent 4-KB sector size for transaction log I/O operations.
58+
If you're experiencing performance degradation due to misaligned I/O operations and can't [modify your sector size](../database-file-operations/troubleshoot-os-4kb-disk-sector-size.md#resolution-steps-for-disk-sector-size-errors-in-sql-server), you can use [Trace Flag 1800](/sql/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql#tf1800) as a global startup parameter to force SQL Server to use a consistent 4-KB sector size for transaction log I/O operations.
5959

6060
To enable Trace Flag 1800 as a startup parameter, follow these steps:
6161

support/sql/database-engine/security/transfer-logins-passwords-between-instances.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,11 @@ ms.topic: how-to
1010

1111
# Transfer logins and passwords between instances of SQL Server
1212

13-
This article describes how to transfer the logins and the passwords between different instances of SQL Server running on Windows.
13+
This article describes how to transfer the logins and passwords between different instances of Microsoft SQL Server running on Windows. The instances might be on the same server or different servers, and their versions might differ.
1414

1515
_Original product version:_ &nbsp; SQL Server
1616
_Original KB number:_ &nbsp; 918992, 246133
1717

18-
## Introduction
19-
20-
This article describes how to transfer the logins and passwords between different instances of Microsoft SQL Server. The instances might be on the same server or different servers, and their versions might differ.
21-
2218
## Why transfer logins between SQL Server instances?
2319

2420
In this article, server A and server B are servers.
@@ -31,7 +27,7 @@ This problem occurs because the logins from the SQL Server instance on server A
3127

3228
Keep in mind that error 18456 occurs for many other reasons. For more information on these causes and their resolutions, see [MSSQLSERVER_18456](/sql/relational-databases/errors-events/mssqlserver-18456-database-engine-error).
3329

34-
## Steps to transfer the logins
30+
## Steps to transfer logins between SQL Server instances
3531

3632
To transfer the logins, use one of the following methods, as appropriate for your situation.
3733

@@ -288,37 +284,37 @@ To generate scripts via SSMS on the source server and manually reset passwords f
288284
```
289285

290286
1. The output script that the `sp_help_revlogin` stored procedure generates is the login script. This login script creates the logins that have the original Security Identifier (SID) and the original password.
291-
1. Review and follow the information in the [Remarks](#remarks) section before you proceed with implementing steps on the destination server.
292-
1. Once you implement any applicable steps from the [Remarks](#remarks) section, connect to the destination server B using any client tool (like SSMS).
287+
1. Review and follow the information in the [Additional considerations when transferring SQL Server logins](#additional-considerations-when-transferring-sql-server-logins) section before you proceed with implementing steps on the destination server.
288+
1. Once you implement any applicable steps from the [Additional considerations when transferring SQL Server logins](#additional-considerations-when-transferring-sql-server-logins) section, connect to the destination server B using any client tool (like SSMS).
293289
1. Run the script generated as the output of `sp_helprevlogin` from server A.
294290

295-
## Remarks
291+
## Additional considerations when transferring SQL Server logins
296292

297293
Review the following information before you run the output script on the instance on server B:
298294

299-
### Password hashing information
295+
### Understand password hashing in SQL Server login transfers
300296

301297
- A password can be hashed in the following ways:
302298

303299
- `VERSION_SHA1`: This hash is generated by using the SHA1 algorithm and is used in SQL Server 2000 through SQL Server 2008 R2.
304300
- `VERSION_SHA2`: This hash is generated by using the SHA2 512 algorithm and is used in SQL Server 2012 and later versions.
305301
- In the output script, the logins are created by using the encrypted password. This is because of the `HASHED` argument in the `CREATE LOGIN` statement. This argument specifies that the password that is entered after the `PASSWORD` argument is already hashed.
306302

307-
### How to handle the change of domains
303+
### Handle domain changes during SQL Server login transfers
308304

309305
Are your source and destination servers in different domains? Review the output script carefully. If server A and server B are in different domains, you have to change the output script. Then, you have to replace the original domain name by using the new domain name in the `CREATE LOGIN` statements. The integrated logins that are granted access in the new domain don't have the same SID as the logins in the original domain. Therefore, users are orphaned from these logins. For more information about how to resolve these orphaned users, see [Troubleshoot orphaned users (SQL Server)](/sql/sql-server/failover-clusters/troubleshoot-orphaned-users-sql-server) and [ALTER USER](/sql/t-sql/statements/alter-user-transact-sql).
310306
311307
If server A and server B are in the same domain, the same SID is used. Therefore, users are unlikely to be orphaned.
312308
313-
### Permissions to view and select all logins
309+
### Required permissions to view and select SQL Server logins
314310
315311
By default, only a member of the sysadmin fixed server role can run a `SELECT` statement from the `sys.server_principals` view. Unless a member of the sysadmin fixed server role grants the necessary permissions to the users, the users can't create or run the output script.
316312

317313
### Default database setting isn't scripted and transferred
318314

319315
The steps in this article don't transfer the default database information for a particular login. This is because the default database might not always exist on server B. To define the default database for a login, use the `ALTER LOGIN` statement by passing in the login name and the default database as arguments.
320316
321-
### How to deal with different sort orders between the source and destination servers
317+
### Manage sort order differences in SQL Server login transfers
322318
323319
There might be differences in sort orders between the source and destination servers, or they might be the same. Here's how each scenario can be addressed:
324320

@@ -330,7 +326,7 @@ There might be differences in sort orders between the source and destination ser
330326
331327
- **Case-sensitive or case-insensitive on both servers**: The sort order of both server A and server B might be case-sensitive, or the sort order of both server A and server B might be case-insensitive. In these cases, the users don't experience a problem.
332328

333-
### How to deal with logins already existing on the destination server
329+
### Resolve conflicts with existing SQL Server logins on destination server
334330

335331
The script is designed to check if the login exists on the destination server and create a login only if it doesn't. However, if you receive the following error message when you run the output script on the instance on server B, you have to manually resolve it by following the steps in this section.
336332

0 commit comments

Comments
 (0)