Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 09b247a

Browse files
authored
Update sys-sp-query-store-clear-hints-transact-sql.md
------- cc: @rwestMSFT
1 parent cb9d4b0 commit 09b247a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/relational-databases/system-stored-procedures/sys-sp-query-store-clear-hints-transact-sql.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ sp_query_store_clear_hints
3333
@query_id bigint;
3434
```
3535

36+
## Arguments
37+
38+
#### @query_id
39+
40+
Required. This is the Query Store `query_id` from [sys.query_store_query](../system-catalog-views/sys-query-store-query-transact-sql.md).
41+
3642
## Return Values
3743
0 (success) or 1 (failure)
3844

@@ -46,15 +52,15 @@ sp_query_store_clear_hints
4652

4753
### Clear query hint text
4854

49-
The following example removes the query store hint text:
55+
The following example removes the query store hint text for query id 39:
5056

5157
```sql
5258
EXEC sys.sp_query_store_clear_hints @query_id = 39;
5359
```
5460

5561
### View Query Store hints
5662

57-
The following example returns existing Query Store hints:
63+
The following example returns existing Query Store hints for query id 39:
5864

5965
```sql
6066
SELECT query_hint_id, query_id, query_hint_text, last_query_hint_failure_reason, last_query_hint_failure_reason_desc, query_hint_failure_count, source, source_desc

0 commit comments

Comments
 (0)