Skip to content

Commit 3ef4a70

Browse files
authored
Apply suggestions from code review
edit pass
1 parent 86af6ca commit 3ef4a70

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/relational-databases/security/encryption/always-encrypted-wizard.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,23 @@ If you have configured a secure enclave in your database and you're using enclav
9292
For more information about enclave attestation, see [Configure attestation for Always Encrypted using Azure Attestation](/azure/azure-sql/database/always-encrypted-enclaves-configure-attestation)
9393

9494
## Post Encryption
95-
Clear the plan cache for all batches and stored procedures that access the table, to refresh parameters encryption information.
95+
96+
Clear the plan cache for all batches and stored procedures that access the table to refresh parameters encryption information.
9697

9798
```sql
9899
ALTER DATABASE SCOPED CONFIGURATION CLEAR PROCEDURE_CACHE;
99100
```
100101

101102
> [!NOTE]
102-
> If you do not remove the plan for the impacted query from the cache, the first execution of the query after encryption may fail.
103+
> If you do not remove the plan for the impacted query from the cache, the first execution of the query after encryption might fail.
103104
>
104-
> Use `ALTER DATABASE SCOPED CONFIGURATION CLEAR PROCEDURE_CACHE` or `DBCC FREEPROCCACHE` to clear the plan cache carefully, as it may result in temporary query performance degradation. To minimize the negative impact of clearing the cache, you can selectively remove the plans for the impacted queries only.
105+
> Use `ALTER DATABASE SCOPED CONFIGURATION CLEAR PROCEDURE_CACHE` or `DBCC FREEPROCCACHE` to clear the plan cache carefully, as it can result in temporary query performance degradation. To minimize the negative impact of clearing the cache, you can selectively remove the plans for only the impacted queries.
106+
107+
Call [sp_refresh_parameter_encryption](../../system-stored-procedures/sp-refresh-parameter-encryption-transact-sql.md) to update the metadata for the parameters of each module (stored procedure, function, view, trigger) that are persisted in [sys.parameters](../..//system-catalog-views/sys-parameters-transact-sql.md) and might have been invalidated by encrypting the columns.
105108

106-
Call [sp_refresh_parameter_encryption](../../system-stored-procedures/sp-refresh-parameter-encryption-transact-sql.md) to update the metadata for the parameters of each module (stored procedure, function, view, trigger) that are persisted in [sys.parameters](../..//system-catalog-views/sys-parameters-transact-sql.md) and may have been invalidated by encrypting the columns.
107109

110+
## Related content
108111

109-
## Next steps
110112
- [Query columns using Always Encrypted with SQL Server Management Studio](always-encrypted-query-columns-ssms.md)
111113
- [Run Transact-SQL statements using secure enclaves](always-encrypted-enclaves-query-columns.md)
112114
- [Develop applications using Always Encrypted](always-encrypted-client-development.md)

0 commit comments

Comments
 (0)