CURRENT_REQUEST_ID (Transact-SQL)

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

Ikona łącza do tematu Transact-SQL Syntax Conventions

Składnia

CURRENT_REQUEST_ID()

Return Types

smallint

Uwagi

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

Zobacz także

Odwołanie

@@SPID (Transact-SQL)