| title | @@PACK_RECEIVED (Transact-SQL) | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/14/2017 | |||
| ms.prod | sql | |||
| ms.prod_service | sql-database | |||
| ms.reviewer | ||||
| ms.technology | t-sql | |||
| ms.topic | language-reference | |||
| f1_keywords |
|
|||
| dev_langs |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 5c0b3d36-bfad-4f0b-abb8-e8f6391b32cd | |||
| author | VanMSFT | |||
| ms.author | vanto |
[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]
Returns the number of input packets read from the network by [!INCLUDEssNoVersion] since it was last started.
Transact-SQL Syntax Conventions
@@PACK_RECEIVED
integer
To display a report containing several [!INCLUDEssNoVersion] statistics, including packets sent and received, run sp_monitor.
The following example shows the usage of @@PACK_RECEIVED.
SELECT @@PACK_RECEIVED AS 'Packets Received';
Here is a sample result set.
Packets Received
----------------
128