Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Install-All-Scripts.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36346,7 +36346,8 @@ ALTER PROCEDURE [dbo].[sp_BlitzFirst]
@Debug BIT = 0,
@Version VARCHAR(30) = NULL OUTPUT,
@VersionDate DATETIME = NULL OUTPUT,
@VersionCheckMode BIT = 0
@VersionCheckMode BIT = 0,
@CheckStatisticsUpdatedRecently bit = 0
WITH EXECUTE AS CALLER, RECOMPILE
AS
BEGIN
Expand Down Expand Up @@ -36830,7 +36831,7 @@ BEGIN
/* We reuse this one by default rather than recreate it every time. */
CREATE TABLE ##WaitCategories
(
WaitType NVARCHAR(60) PRIMARY KEY CLUSTERED,
WaitType NVARCHAR(60) PRIMARY KEY CLUSTERED with(ignore_dup_key=on),
WaitCategory NVARCHAR(128) NOT NULL,
Ignorable BIT DEFAULT 0
);
Expand Down Expand Up @@ -38817,7 +38818,9 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,

END; /* IF @Seconds < 30 */

/* Query Problems - Statistics Updated Recently - CheckID 44 */
if @CheckStatisticsUpdatedRecently =1
begin
/* Query Problems - Statistics Updated Recently - CheckID 44 */
IF (@Debug = 1)
BEGIN
RAISERROR('Running CheckID 44',10,1) WITH NOWAIT;
Expand Down Expand Up @@ -38925,6 +38928,7 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,
FOR XML PATH(''));

END
End

/* Server Performance - Azure Operation Ongoing - CheckID 53 */
IF (@Debug = 1)
Expand Down
Loading