Skip to content

Commit d74bccf

Browse files
authored
Merge pull request #643 from alexprotsenko/master
[SQL Asmnt] Update to keep the SQL Assessment samples folder in sync with release
2 parents 394257f + 931e6c4 commit d74bccf

3 files changed

Lines changed: 2452 additions & 1557 deletions

File tree

samples/manage/sql-assessment-api/QueryStoreCheck_fix.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

samples/manage/sql-assessment-api/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,3 @@ Demonstrates how to make a custom rule set containing two checks. The sample con
7070
]
7171
}
7272
```
73-
74-
## QueryStoreCheck_fix.json
75-
76-
Overrides the default ruleset to fix the rule "Query Store should be on." Query Store appeared in SQL Server 2016 but the rule checks for it starting with SQL Server 2014.
77-
78-
Here's an example of applying the fix to running the InvokeSqlAssessment cmdlet.
79-
80-
```PowerShell
81-
Get-SqlInstance -ServerInstance 'localhost' | Get-SqlDatabase | Invoke-SqlAssessment -configuration "C:\SQLAssessment\QueryStore_fix.json"
82-
```

0 commit comments

Comments
 (0)