sp_query_store_reset_exec_stats
Clears the runtime stats for a specific query plan from the Query Store.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Not stated in the Microsoft summary.
Syntax at a glance
sp_query_store_reset_exec_stats [ @plan_id = ] plan_id
[ ; ]
Work example
Clears the runtime stats for a specific query plan from the Query Store.
Read the syntax and examples. Explain each argument and its effect before writing a call.
Check your work Which inputs are required, and what result or effect does the page document?
Open Microsoft Learn for full syntax, permissions, and details for your version.