Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added samples/manage/sql-assessment-api/.DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions samples/manage/sql-assessment-api/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ Download: [SMO NuGet Package](https://www.nuget.org/packages/Microsoft.SqlServer

You can use GitHub issues to provide feedback to the product team.

## March 2021 - 1.0.305

Version: SqlServer PowerShell module wasn't updated, SqlManagementObjects (SMO) package wasn't updated

### Bug fixes and improvements

- Fixed an issue that may cause the 'ReplErrors24H' check to fail on case-sensitive SQL Server instances with Distributor databases

## March 2021 - 1.0.304

Version: SqlServer PowerShell module wasn't updated, SqlManagementObjects (SMO) package wasn't updated
Expand Down
4 changes: 2 additions & 2 deletions samples/manage/sql-assessment-api/ruleset.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schemaVersion": "1.0",
"name": "Microsoft ruleset",
"version": "1.0.304",
"version": "1.0.305",
"rules": [
{
"id": "AutoCreateStats",
Expand Down Expand Up @@ -8871,7 +8871,7 @@
"version": "[11.0,)"
},
"implementation": {
"query": "DECLARE @cmd NVARCHAR(max) = N''; SELECT @cmd = @cmd + N' USE ' + QUOTENAME([name]) + N'; SELECT msa.publisher_db ,msa.publication FROM dbo.MSdistribution_history AS msh INNER JOIN dbo.MSrepl_errors AS mse ON mse.id = msh.error_id INNER JOIN dbo.MSdistribution_agents AS msa ON msh.agent_id = msa.id WHERE mse.TIME >= DATEADD(hh, - 24, GETDATE()) GROUP BY msa.publisher_db ,msa.publication;' FROM [master].sys.databases WHERE is_distributor = 1; EXEC (@cmd);"
"query": "DECLARE @cmd NVARCHAR(max) = N''; SELECT @cmd = @cmd + N' USE ' + QUOTENAME([name]) + N'; SELECT msa.publisher_db ,msa.publication FROM dbo.MSdistribution_history AS msh INNER JOIN dbo.MSrepl_errors AS mse ON mse.id = msh.error_id INNER JOIN dbo.MSdistribution_agents AS msa ON msh.agent_id = msa.id WHERE mse.time >= DATEADD(hh, - 24, GETDATE()) GROUP BY msa.publisher_db ,msa.publication;' FROM [master].sys.databases WHERE is_distributor = 1; EXEC (@cmd);"
}
}
],
Expand Down