SQL Flow Field Guide

@@PACK_RECEIVED

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

system function

What changes

Input
arguments or engine/session state
Output or change
value
Return type
integer

Syntax at a glance

@@PACK_RECEIVED

Work example

Inspect the cumulative network packet-received counter.

Read state in the intended scope and immediately after the statement it describes. Treat host values as untrusted.

Check your work Compare readings over a known interval and account for instance uptime.

Open Microsoft Learn for full syntax, permissions, and details for your version.