GET_FILESTREAM_TRANSACTION_CONTEXT
system function
What changes
- Input
- arguments or engine/session state
- Output or change
- value
- Return type
- varbinary(max)
Syntax at a glance
GET_FILESTREAM_TRANSACTION_CONTEXT()
Work example
Obtain the transaction context required for FILESTREAM access.
Read state in the intended scope and immediately after the statement it describes. Treat host values as untrusted.
Check your work Use it inside the active transaction and keep the token in the authorized client path.
Open Microsoft Learn for full syntax, permissions, and details for your version.