Skip to content

Commit 757fa02

Browse files
authored
Merge pull request #2975 from erikdarlingdata/issue_2971
Remove USE
2 parents 3145739 + d5992b3 commit 757fa02

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
@@ -3126,7 +3126,7 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,
31263126
This has to be done as dynamic SQL because we have to execute OBJECT_NAME inside TempDB. */
31273127
IF @@ROWCOUNT > 0
31283128
BEGIN
3129-
SET @StringToExecute = N'USE tempdb;
3129+
SET @StringToExecute = N'
31303130
INSERT INTO #BlitzFirstResults (CheckID, Priority, FindingsGroup, Finding, URL, Details, HowToStopIt)
31313131
SELECT TOP 10 29 AS CheckID,
31323132
40 AS Priority,

0 commit comments

Comments
 (0)