From fb7cb9c0132b8b78b8f5d1b770d31bda309d8679 Mon Sep 17 00:00:00 2001 From: Ian Moroney <10791260+IanMoroney@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:30:14 +0100 Subject: [PATCH] Update usp_AdaptiveIndexDefrag.sql Fixes #196 --- AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql b/AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql index 7fe7952f..955a1344 100644 --- a/AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql +++ b/AdaptiveIndexDefrag/usp_AdaptiveIndexDefrag.sql @@ -236,7 +236,7 @@ CREATE TABLE dbo.tbl_AdaptiveIndexDefrag_Stats_log , dbName NVARCHAR(128) NULL , objectID int NULL , objectName NVARCHAR(256) NULL - , statsID int NOT NULL + , statsID int NULL , statsName NVARCHAR(256) NULL , partitionNumber smallint , [rows] bigint