diff --git a/SQLWATCHDB/Scripts/Pre-Deployment/SetDacVersion.sql b/SQLWATCHDB/Scripts/Pre-Deployment/SetDacVersion.sql index f7431394..8c375203 100644 Binary files a/SQLWATCHDB/Scripts/Pre-Deployment/SetDacVersion.sql and b/SQLWATCHDB/Scripts/Pre-Deployment/SetDacVersion.sql differ diff --git a/SQLWATCHDB/dbo/Procedures/usp_sqlwatch_trend_perf_os_performance_counters.sql b/SQLWATCHDB/dbo/Procedures/usp_sqlwatch_trend_perf_os_performance_counters.sql index fd7169b4..158d1988 100644 --- a/SQLWATCHDB/dbo/Procedures/usp_sqlwatch_trend_perf_os_performance_counters.sql +++ b/SQLWATCHDB/dbo/Procedures/usp_sqlwatch_trend_perf_os_performance_counters.sql @@ -107,6 +107,8 @@ select pc.[performance_counter_id] and t.[interval_minutes_60] > isnull(@snapshot_time,'1970-01-01') --and apc.snapshot_time is null + and pc.sql_instance = @@SERVERNAME + group by pc.[performance_counter_id] ,pc.[instance_name] ,pc.[sql_instance]