Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.68 KB

File metadata and controls

59 lines (46 loc) · 1.68 KB
title @@PACK_RECEIVED (Transact-SQL)
description @@PACK_RECEIVED (Transact-SQL)
author VanMSFT
ms.author vanto
ms.date 03/14/2017
ms.service sql
ms.subservice t-sql
ms.topic reference
f1_keywords
@@PACK_RECEIVED_TSQL
@@PACK_RECEIVED
helpviewer_keywords
@@PACK_RECEIVED function
number of packets read
packets [SQL Server], number read
dev_langs
TSQL

@@PACK_RECEIVED (Transact-SQL)

[!INCLUDE SQL Server Azure SQL Managed Instance]

Returns the number of input packets read from the network by [!INCLUDEssNoVersion] since it was last started.

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

Syntax

@@PACK_RECEIVED  

Return Types

integer

Remarks

To display a report containing several [!INCLUDEssNoVersion] 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