SQL @@PACKET_ERRORS Statistical Function returns the network packet errors that occurred on connection since the last time the SQL server started. The syntax behind this @@PACKET_ERRORS is
@@PACKET_ERRORS
SQL @@PACKET_ERRORS Example
The below code snippet will show you the total number of network packet errors that occurred in this SQL Server.
SELECT @@PACKET_ERRORS AS [Total Number of Packet Errors]
You can use the GETDATE() along with Packet_errors function to see the network errors until today.
SELECT @@PACKET_ERRORS AS [Total Number of Packet Errors], GETDATE() AS [As of Today]