@@PACK_RECEIVED (Transact-SQL)

Applies to: SQL Server (all supported versions) Azure SQL Managed Instance

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

Topic link icon Transact-SQL Syntax Conventions

Syntax

@@PACK_RECEIVED  

Note

To view Transact-SQL syntax for SQL Server 2014 and earlier, see Previous versions documentation.

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  

See Also

@@PACK_SENT
sp_monitor
System Statistical Functions