Skip to content

Commit c920463

Browse files
2 parents 0ccbacc + 45cc7a4 commit c920463

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sp_PressureDetector/sp_PressureDetector.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ OPTION(MAXDOP 1, RECOMPILE);',
16691669
ISNULL
16701670
(
16711671
vfs.io_stall_read_ms /
1672-
(NULLIF(vfs.num_of_reads, 0)),
1672+
CAST((NULLIF(vfs.num_of_reads, 0)) AS decimal(38, 2)),
16731673
0
16741674
)
16751675
),
@@ -1702,7 +1702,7 @@ OPTION(MAXDOP 1, RECOMPILE);',
17021702
ISNULL
17031703
(
17041704
vfs.io_stall_write_ms /
1705-
(NULLIF(vfs.num_of_writes, 0)),
1705+
CAST((NULLIF(vfs.num_of_writes, 0)) AS decimal(38, 2)),
17061706
0
17071707
)
17081708
),

0 commit comments

Comments
 (0)