get_query_parameter_buckets
Extract compiled parameter values behind each Query Store plan for a query, revealing the parameter buckets to test when tuning. Pair with boundary and NULL cases.
Instructions
Extract the compiled parameter values behind each Query Store plan for one query — the parameter buckets a tuning pass must test. Each distinct compiled set produced its own plan shape in production; pair with boundary/NULL/empty cases the history cannot show.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | Query Store query_id. | |
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||