Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the ID of the current request within the current session.
Transact-SQL Syntax Conventions
Syntax
CURRENT_REQUEST_ID()
Return Types
smallint
Remarks
To find exact information about the current session and current request, use @@SPID and CURRENT_REQUEST_ID(), respectively.