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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.