Skip to content

Commit 00e1df7

Browse files
authored
Merge pull request BrentOzarULTD#1606 from BrentOzarULTD/issue_1600
sp_Blitz Arithmetic overflow line 59
2 parents db6ad0f + bdc6ab8 commit 00e1df7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sp_Blitz.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,9 @@ AS
617617
'Wait Stats',
618618
'Wait Stats Have Been Cleared',
619619
'https://BrentOzar.com/go/waits',
620-
'Someone ran DBCC SQLPERF to clear sys.dm_os_wait_stats at approximately: ' + CONVERT(NVARCHAR(100), DATEADD(ms, (-1 * @MsSinceWaitsCleared), GETDATE()), 120));
620+
'Someone ran DBCC SQLPERF to clear sys.dm_os_wait_stats at approximately: '
621+
+ CONVERT(NVARCHAR(100),
622+
DATEADD(MINUTE, (-1. * (@MsSinceWaitsCleared) / 1000. / 60.), GETDATE()), 120));
621623
END;
622624

623625
/* @CpuMsSinceWaitsCleared is used for waits stats calculations */

0 commit comments

Comments
 (0)