Skip to content

Commit 1734f64

Browse files
authored
Merge pull request #3238 from BrentOzarULTD/3237_sp_BlitzFirst_rowcount
#3237 sp_BlitzFirst Remove @@rowcount
2 parents 6bc0d5b + 05ded7c commit 1734f64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_BlitzFirst.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3146,7 +3146,7 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,
31463146

31473147
/* Check for temp objects with high forwarded fetches.
31483148
This has to be done as dynamic SQL because we have to execute OBJECT_NAME inside TempDB. */
3149-
IF @@ROWCOUNT > 0
3149+
IF EXISTS (SELECT * FROM #BlitzFirstResults WHERE CheckID = 29)
31503150
BEGIN
31513151
SET @StringToExecute = N'
31523152
INSERT INTO #BlitzFirstResults (CheckID, Priority, FindingsGroup, Finding, URL, Details, HowToStopIt)

0 commit comments

Comments
 (0)