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
The demo program is designed so that a transient error during an attempt to connect leads to a retry. (Transient error codes start with the prefix '08' as listed in this [appendix](../../odbc/reference/appendixes/appendix-a-odbc-error-codes.md).) But a transient error during query command causes the program to discard the connection and create a new connection, before retrying the query command. We don't recommend or discourage this design choice. The demo program illustrates some of the design flexibility that is available to you.
16
+
The demo program is designed so that a transient error during an attempt to connect leads to a retry. (Transient error codes start with the prefix '08' as listed in this [appendix](../../odbc/reference/appendixes/appendix-a-odbc-error-codes.md).) But a transient error during a query command causes the program to discard the connection and create a new connection, before retrying the query command. We don't recommend or discourage this design choice. The demo program illustrates some of the design flexibility that's available to you.
16
17
17
18
The length of this code sample is due mostly to the catch exception logic.
18
19
19
-
The [sqlsrv_query()](sqlsrv-query.md) function can be used to retrieve a result set from a query against SQL Database. This function essentially accepts any query and connection object and returns a result set, which can be iterated over with the use of [sqlsrv_fetch_array()](sqlsrv-fetch-array.md).
20
+
You can use the [sqlsrv_query()](sqlsrv-query.md) function to retrieve a result set from a query against SQL Database. This function accepts any query and connection object and returns a result set, which can be iterated over with the use of [sqlsrv_fetch_array()](sqlsrv-fetch-array.md).
20
21
21
22
```php
22
23
@@ -34,7 +35,7 @@ The [sqlsrv_query()](sqlsrv-query.md) function can be used to retrieve a result
34
35
for ($cc = 1; $cc <= $maxCountTriesConnectAndQuery; $cc++) {
35
36
// [A.2] Connect, which proceeds to issue a query command.
Copy file name to clipboardExpand all lines: docs/relational-databases/security/encryption/enable-tde-on-sql-server-using-ekm.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@ description: Enable transparent data encryption in SQL Server to protect a datab
4
4
author: rwestMSFT
5
5
ms.author: randolphwest
6
6
ms.reviewer: vanto
7
-
ms.date: 09/07/2025
7
+
ms.date: 01/20/2026
8
+
ai-usage: ai-assisted
8
9
ms.service: sql
9
10
ms.subservice: security
10
11
ms.topic: how-to
@@ -24,24 +25,24 @@ TDE encrypts the storage of an entire database by using a symmetric key called t
24
25
25
26
## Limitations
26
27
27
-
You must be a high privileged user (such as a system administrator) to create a database encryption key and encrypt a database. The EKM module must be able to authenticate that user.
28
+
You must be a high privileged user (such as a system administrator) to create a database encryption key and encrypt a database. The EKM module must be able to authenticate you.
28
29
29
-
At startup, the [!INCLUDE [ssDE](../../../includes/ssde-md.md)] must open the database. You should create a credential that will be authenticated by the EKM, and add it to a login that is based on an asymmetric key. Users can't sign in using that login, but the [!INCLUDE [ssDE](../../../includes/ssde-md.md)] can authenticate itself with the EKM device.
30
+
At startup, the [!INCLUDE [ssDE](../../../includes/ssde-md.md)] must open the database. Create a credential that the EKM authenticates, and add it to a login based on an asymmetric key. Users can't sign in using that login, but the [!INCLUDE [ssDE](../../../includes/ssde-md.md)] can authenticate itself with the EKM device.
30
31
31
-
If the asymmetric key stored in the EKM module is lost, the database can't be opened by [!INCLUDE [ssNoVersion](../../../includes/ssnoversion-md.md)]. If the EKM provider lets you back up the asymmetric key, you should create a backup and store it in a secure location.
32
+
If you lose the asymmetric key stored in the EKM module, [!INCLUDE [ssNoVersion](../../../includes/ssnoversion-md.md)] can't open the database. If your EKM provider lets you back up the asymmetric key, create a backup and store it in a secure location.
32
33
33
-
The options and parameters required by your EKM provider can differ from what is provided in the following code example. For more information, see your EKM provider.
34
+
The options and parameters required by your EKM provider might differ from what's provided in the following code example. For more information, see your EKM provider.
34
35
35
36
## Permissions
36
37
37
-
This article uses the following permissions:
38
+
You need the following permissions:
38
39
39
-
- To change a configuration option and run the `RECONFIGURE` statement, you must be granted the `ALTER SETTINGS` server-level permission. The `ALTER SETTINGS` permission is implicitly held by the **sysadmin** and **serveradmin** fixed server roles.
40
+
- To change a configuration option and run the `RECONFIGURE` statement, you need the `ALTER SETTINGS` server-level permission. The **sysadmin** and **serveradmin** fixed server roles implicitly hold the `ALTER SETTINGS` permission.
40
41
41
-
-Requires `ALTER ANY CREDENTIAL` permission.
42
-
-Requires `ALTER ANY LOGIN` permission.
43
-
-Requires `CREATE ASYMMETRIC KEY` permission.
44
-
-Requires `CONTROL` permission on the database to encrypt the database.
42
+
-`ALTER ANY CREDENTIAL` permission.
43
+
-`ALTER ANY LOGIN` permission.
44
+
-`CREATE ASYMMETRIC KEY` permission.
45
+
-`CONTROL` permission on the database to encrypt the database.
45
46
46
47
<aid="TsqlProcedure"></a>
47
48
@@ -97,7 +98,7 @@ This article uses the following permissions:
Copy file name to clipboardExpand all lines: docs/relational-databases/system-tables/dbo-sysjobhistory-transact-sql.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@ description: Contains information about the execution of scheduled jobs by the S
4
4
author: VanMSFT
5
5
ms.author: vanto
6
6
ms.reviewer: randolphwest
7
-
ms.date: 03/27/2024
7
+
ms.date: 01/20/2026
8
+
ai-usage: ai-assisted
8
9
ms.service: sql
9
10
ms.subservice: system-objects
10
11
ms.topic: "reference"
@@ -25,7 +26,7 @@ dev_langs:
25
26
Contains information about the execution of scheduled jobs by the [SQL Server Agent](/ssms/agent/sql-server-agent).
26
27
27
28
> [!NOTE]
28
-
> In most cases, the data is updated only after the job step completes, and the table typically contains no records for job steps that are currently in progress. In some cases, underlying processes *do* provide information about inprogress job steps.
29
+
> In most cases, the data updates only after the job step completes, and the table typically contains no records for job steps that are currently in progress. In some cases, underlying processes *do* provide information about in-progress job steps.
0 commit comments