Commit 39337ba
authored
Exclude Model Database From @QueryStoreInUse Check
The model database always returns 1 for is_query_store_on in sys.databases in SQL 2022, so this will always show query store is in use even if no user databases have it enabled.1 parent 2385da1 commit 39337ba
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7777 | 7777 | | |
7778 | 7778 | | |
7779 | 7779 | | |
7780 | | - | |
| 7780 | + | |
7781 | 7781 | | |
7782 | 7782 | | |
7783 | 7783 | | |
| |||
0 commit comments