You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WHEN ''ALL'' THEN ''captures more data than you will probably use. If your workload is heavily ad-hoc, then it can also cause Query Store to capture so much that it turns itself off.''
6891
+
WHEN ''NONE'' THEN ''stops Query Store capturing data for new queries.''
6892
+
WHEN ''CUSTOM'' THEN ''suggests that somebody has gone out of their way to only capture exactly what they want.''
6893
+
ELSE ''is not documented.'' END)
6894
+
FROM [?].sys.database_query_store_options
6895
+
WHERE desired_state <> 0 /* No point in checking this if Query Store is off. */
6896
+
AND query_capture_mode_desc <> ''AUTO''
6897
+
OPTION (RECOMPILE)';
6898
+
END;
6864
6899
6865
6900
IF @ProductVersionMajor =13AND @ProductVersionMinor <2149--2016 CU1 has the fix in it
0 commit comments