Delen via


@@PACK_RECEIVED (Transact-SQL)

Returns the number of input packets read from the network by SQL Server since it was last started.

Topic link iconTransact-SQL Syntax Conventions

Syntax

@@PACK_RECEIVED

Return Types

integer

Remarks

To display a report containing several SQL Server statistics, including packets sent and received, run sp_monitor.

Examples

The following example shows the usage of @@PACK_RECEIVED.

SELECT @@PACK_RECEIVED AS 'Packets Received' 

Here is a sample result set.

Packets Received
----------------
128