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
Copy file name to clipboardExpand all lines: docs/relational-databases/security/encryption/always-encrypted-wizard.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,21 +92,23 @@ If you have configured a secure enclave in your database and you're using enclav
92
92
For more information about enclave attestation, see [Configure attestation for Always Encrypted using Azure Attestation](/azure/azure-sql/database/always-encrypted-enclaves-configure-attestation)
93
93
94
94
## 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.
> 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.
103
104
>
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.
105
108
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.
107
109
110
+
## Related content
108
111
109
-
## Next steps
110
112
-[Query columns using Always Encrypted with SQL Server Management Studio](always-encrypted-query-columns-ssms.md)
111
113
-[Run Transact-SQL statements using secure enclaves](always-encrypted-enclaves-query-columns.md)
112
114
-[Develop applications using Always Encrypted](always-encrypted-client-development.md)
0 commit comments