From c9892fc69a4f8d73c06f436874b6d80ae383376a Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:47:07 -0400 Subject: [PATCH] Update sp_IndexCleanup BETA.sql Dangling percents Thanks Peter wherever you are --- sp_IndexCleanup BETA/sp_IndexCleanup BETA.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sp_IndexCleanup BETA/sp_IndexCleanup BETA.sql b/sp_IndexCleanup BETA/sp_IndexCleanup BETA.sql index 4ac5393..42e8a60 100644 --- a/sp_IndexCleanup BETA/sp_IndexCleanup BETA.sql +++ b/sp_IndexCleanup BETA/sp_IndexCleanup BETA.sql @@ -1510,7 +1510,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. f.script, sort_order = CASE action - WHEN N'MERGE INTO%' THEN 2 + WHEN N'MERGE INTO' THEN 2 WHEN N'DROP' THEN 3 ELSE 999 END @@ -1556,7 +1556,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. WHERE f.action IN ( N'DROP', - N'MERGE INTO%' + N'MERGE INTO' ) ORDER BY f.table_name,