sys.sp_set_session_context

general
#stored-procedure

Description

2016 (13.x) and later versions SQL analytics endpoint in Microsoft SQL database in Microsoft Fabric Sets a key-value pair in the session context. with no default. The maximum key size is 128 bytes. The value for the specified key. frees the memory. The maximum size is 8,000 bytes.

Syntax

sp_set_session_context
[ @key = ]
N
'key'
, [ @value = ]
'value'
[ , [ @read_only = ] read_only ]
[ ; ]