Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 964d547

Browse files
Merge pull request BrentOzarULTD#1201 from BrentOzarULTD/Issue_1200
Closes BrentOzarULTD#1200
2 parents 05104ee + 53b513c commit 964d547

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎sp_BlitzFirst.sql‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ BEGIN
205205
+ @OutputDatabaseName + '.'
206206
+ @OutputSchemaName + '.'
207207
+ @OutputTableName
208-
+ ' WHERE CheckDate >= DATEADD(mi, -15, ''' + CAST(@AsOf AS NVARCHAR(100)) + ''')'
209-
+ ' AND CheckDate <= DATEADD(mi, 15, ''' + CAST(@AsOf AS NVARCHAR(100)) + ''')'
208+
+ ' WHERE CheckDate >= DATEADD(mi, -15, CONVERT(DATETIMEOFFSET, ''' + CAST(@AsOf AS NVARCHAR(100)) + '''))'
209+
+ ' AND CheckDate <= DATEADD(mi, 15, CONVERT(DATETIMEOFFSET, ''' + CAST(@AsOf AS NVARCHAR(100)) + '''))'
210210
+ ' /*ORDER BY CheckDate, Priority , FindingsGroup , Finding , Details*/;';
211-
EXEC(@StringToExecute);
211+
EXEC(@StringToExecute);
212212

213213

214214
END /* IF @AsOf IS NOT NULL AND @OutputDatabaseName IS NOT NULL AND @OutputSchemaName IS NOT NULL AND @OutputTableName IS NOT NULL */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /