diff --git a/sp_QuickieStore/sp_QuickieStore.sql b/sp_QuickieStore/sp_QuickieStore.sql index 9c21398..c875053 100644 --- a/sp_QuickieStore/sp_QuickieStore.sql +++ b/sp_QuickieStore/sp_QuickieStore.sql @@ -2070,9 +2070,9 @@ Hints aren't in Query Store until 2022, so we can't do that on television IF ( ( - @only_queries_with_hints IS NOT NULL - OR @only_queries_with_feedback IS NOT NULL - OR @only_queries_with_variants IS NOT NULL + @only_queries_with_hints = 1 + OR @only_queries_with_feedback = 1 + OR @only_queries_with_variants = 1 ) AND @sql_2022_views = 0 )