Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 2.31 KB

File metadata and controls

74 lines (60 loc) · 2.31 KB
title @@PACKET_ERRORS (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 09/18/2017
ms.prod sql
ms.prod_service sql-database
ms.service
ms.component t-sql|functions
ms.reviewer
ms.suite sql
ms.technology
database-engine
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
@@PACKET_ERRORS
@@PACKET_ERRORS_TSQL
dev_langs
TSQL
helpviewer_keywords
@@PACKET_ERRORS function
number of packet errors
packets [SQL Server], errors
networking [SQL Server], packet errors
connections [SQL Server], packets
ms.assetid f7da1b80-5cbe-42fa-be71-40c6af16383a
caps.latest.revision 31
author edmacauley
ms.author edmaca
manager craigg
ms.workload Inactive

@@PACKET_ERRORS (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]

Returns the number of network packet errors that have occurred on [!INCLUDEssNoVersion] connections since [!INCLUDEssNoVersion] was last started.

Topic link icon Transact-SQL Syntax Conventions

Syntax

  
@@PACKET_ERRORS  

Return Types

integer

Remarks

To display a report containing several [!INCLUDEssNoVersion] statistics, including packet errors, run sp_monitor.

Examples

The following example shows using @@PACKET_ERRORS.

SELECT @@PACKET_ERRORS AS 'Packet Errors';  

Here is a sample result set.

Packet Errors  
-------------  
0  

See Also

@@PACK_RECEIVED (Transact-SQL)
@@PACK_SENT (Transact-SQL)
sp_monitor (Transact-SQL)
System Statistical Functions (Transact-SQL)