Browse Source

some progress beacuse Rob didnt know how long it was taking and wondered if ADS was being a snowflake again

Rob.Sewell 6 years ago
parent
commit
1b4768be93
1 changed files with 3 additions and 0 deletions
  1. 3 0
      BPCheck/Check_BP_Servers.sql

+ 3 - 0
BPCheck/Check_BP_Servers.sql

@@ -10606,6 +10606,9 @@ WHERE (sm.[definition] LIKE ''%FORCE ORDER%''
 AND OBJECTPROPERTY(sm.[object_id],''IsMSShipped'') = 0;'
 
 					BEGIN TRY
+					DECLARE @Message varchar(120)
+					SET @Message = '    |-Checking Hints For ' + QUOTENAME(@dbname)
+					RAISERROR (@Message , 10, 1) WITH NOWAIT
 					INSERT INTO #tblHints
 					EXECUTE sp_executesql @sqlcmd
 				END TRY