Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CURRENT_REQUEST_ID (Transact-SQL)

Returns the ID of the current request within the current session.

Topic link iconTransact-SQL Syntax Conventions


CURRENT_REQUEST_ID()

smallint

To find exact information about the current session and current request, use @@SPID and CURRENT_REQUEST_ID(), respectively.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.