mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Merge pull request #917 from TDzakhov/master
Updated release notes and ruleset.json
This commit is contained in:
BIN
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"schemaVersion": "1.0",
|
||||
"name": "Microsoft ruleset",
|
||||
"version": "1.0.304",
|
||||
"version": "1.0.305",
|
||||
"rules": [
|
||||
{
|
||||
"id": "AutoCreateStats",
|
||||
@@ -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);"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user