File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1990,7 +1990,6 @@ AND ca.utc_timestamp < @end_date';
19901990 CROSS APPLY wi .sp_server_diagnostics_component_result .nodes (' /event' ) AS w(x)
19911991 CROSS APPLY w .x .nodes (' /event/data/value/queryProcessing/topWaits/nonPreemptive/byCount/wait' ) AS w2(x2)
19921992 WHERE w .x .exist(' (data[@name="component"]/text[.= "QUERY_PROCESSING"])' ) = 1
1993- AND (w .x .exist(' (data[@name="state"]/text[.= "WARNING"])' ) = @warnings_only OR @warnings_only = 0 )
19941993 AND NOT EXISTS
19951994 (
19961995 SELECT
@@ -2245,7 +2244,6 @@ AND ca.utc_timestamp < @end_date';
22452244 CROSS APPLY wi .sp_server_diagnostics_component_result .nodes (' /event' ) AS w(x)
22462245 CROSS APPLY w .x .nodes (' /event/data/value/queryProcessing/topWaits/nonPreemptive/byDuration/wait' ) AS w2(x2)
22472246 WHERE w .x .exist(' (data[@name="component"]/text[.= "QUERY_PROCESSING"])' ) = 1
2248- AND (w .x .exist(' (data[@name="state"]/text[.= "WARNING"])' ) = @warnings_only OR @warnings_only = 0 )
22492247 AND w2 .x2 .exist(' @averageWaitTime[.>= sql:variable("@wait_duration_ms")]' ) = 1
22502248 AND NOT EXISTS
22512249 (
You can’t perform that action at this time.
0 commit comments