| title | Query Store Stored Procedures (Transact-SQL) | |||
|---|---|---|---|---|
| description | Query Store stored procedures (Transact-SQL) | |||
| author | markingmyname | |||
| ms.author | maghan | |||
| ms.reviewer | randolphwest | |||
| ms.date | 06/23/2025 | |||
| ms.service | sql | |||
| ms.subservice | system-objects | |||
| ms.topic | reference | |||
| ms.custom |
|
|||
| helpviewer_keywords |
|
|||
| dev_langs |
|
|||
| monikerRange | =azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric-sqldb |
[!INCLUDE sqlserver2016-asdb-asdbmi-fabricsqldb]
This section contains the following stored procedures used to configure the Query Store.
- sys.sp_query_store_flush_db (Transact-SQL)
- sys.sp_query_store_force_plan (Transact-SQL)
- sys.sp_query_store_remove_plan (Transact-SQL)
- sys.sp_query_store_remove_query (Transact-SQL)
- sys.sp_query_store_reset_exec_stats (Transact-SQL)
- sys.sp_query_store_unforce_plan (Transact-SQL)
- sys.sp_query_store_set_hints (Transact-SQL)
- sys.sp_query_store_clear_message_queues (Transact-SQL)