@@TOTAL_ERRORS Displays read/write errors encountered since the SQL Server instance was last started.
3> 4> SELECT 'TotalErrors', @@TOTAL_ERRORS 5> GO ----------- ----------- TotalErrors 0 (1 rows affected)