Explorar el Código

only declare ifi once as well

Rob.Sewell hace 6 años
padre
commit
0e8955d030
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BPCheck/Check_BP_Servers.sql

+ 1 - 1
BPCheck/Check_BP_Servers.sql

@@ -7168,7 +7168,7 @@ BEGIN
 	-- ### IFI subsection
 	-- ### IFI subsection
 	--------------------------------------------------------------------------------------------------------------------------------
 	--------------------------------------------------------------------------------------------------------------------------------
 	RAISERROR (N'  |-Starting IFI', 10, 1) WITH NOWAIT
 	RAISERROR (N'  |-Starting IFI', 10, 1) WITH NOWAIT
-	DECLARE @ifi bit, @IFIStatus NVARCHAR(256)
+	DECLARE @IFIStatus NVARCHAR(256)
 	IF ((@sqlmajorver = 13 AND @sqlbuild < 4000) OR @sqlmajorver < 13)
 	IF ((@sqlmajorver = 13 AND @sqlbuild < 4000) OR @sqlmajorver < 13)
 BEGIN
 BEGIN
 		IF @allow_xpcmdshell = 1
 		IF @allow_xpcmdshell = 1