Skip to content

Commit 77ad121

Browse files
authored
Merge pull request #23531 from mstehrani/patch-13
Note on decryptbykey
2 parents 859ede5 + 18ad3cc commit 77ad121

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/t-sql/statements/set-result-set-caching-transact-sql.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ Enables result set caching for the current client session. Result set caching c
4242
**OFF**
4343
Disable result set caching for the current client session.
4444

45+
> [!NOTE]
46+
> Result set caching should not be used in conjunction with [DECRYPTBYKEY](/sql/t-sql/functions/decryptbykey-transact-sql). If this cryptographic function must be used, ensure you have result set caching disabled (either at [session-level](/sql/t-sql/statements/set-result-set-caching-transact-sql) or [database-level](/sql/t-sql/statements/alter-database-transact-sql-set-options)) at the time of execution.
47+
4548
## Examples
4649

4750
Query the result_cache_hit column in [sys.dm_pdw_exec_requests](../../relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql.md) with a query's request_id to see if this query was executed with a result cache hit or miss.

0 commit comments

Comments
 (0)