Skip to content

Commit 0c41f81

Browse files
committed
Added ability to remove hints.
Appears in the same output table as the one detailing hints, so it is quite naturally placed.
1 parent f1b0be8 commit 0c41f81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sp_QuickieStore/sp_QuickieStore.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9159,6 +9159,8 @@ BEGIN
91599159
qsqh.query_hint_id,
91609160
qsqh.query_id,
91619161
qsqh.query_hint_text,
9162+
remove_hint =
9163+
''EXECUTE '' + QUOTENAME(DB_NAME(qsqh.database_id)) + ''.sys.sp_query_store_clear_hints @query_id = '' + CONVERT(nvarchar(20), qsqh.query_id) + '';'',
91629164
qsqh.last_query_hint_failure_reason_desc,
91639165
query_hint_failure_count = ' +
91649166
CASE

0 commit comments

Comments
 (0)