File tree Expand file tree Collapse file tree
docs/relational-databases/performance Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ---
1+ ---
22title : " Monitoring Performance By Using the Query Store | Microsoft Docs"
33ms.custom : " "
44ms.date : " 10/26/2017"
@@ -487,9 +487,9 @@ hist AS
487487 JOIN sys .query_store_plan p ON p .plan_id = rs .plan_id
488488 WHERE (rs .first_execution_time >= @history_start_time
489489 AND rs .last_execution_time < @history_end_time)
490- OR (rs .first_execution_time \ <= @history_start_time
490+ OR (rs .first_execution_time <= @history_start_time
491491 AND rs .last_execution_time > @history_start_time)
492- OR (rs .first_execution_time \ <= @history_end_time
492+ OR (rs .first_execution_time <= @history_end_time
493493 AND rs .last_execution_time > @history_end_time)
494494 GROUP BY p .query_id
495495),
@@ -504,9 +504,9 @@ recent AS
504504 JOIN sys .query_store_plan p ON p .plan_id = rs .plan_id
505505 WHERE (rs .first_execution_time >= @recent_start_time
506506 AND rs .last_execution_time < @recent_end_time)
507- OR (rs .first_execution_time \ <= @recent_start_time
507+ OR (rs .first_execution_time <= @recent_start_time
508508 AND rs .last_execution_time > @recent_start_time)
509- OR (rs .first_execution_time \ <= @recent_end_time
509+ OR (rs .first_execution_time <= @recent_end_time
510510 AND rs .last_execution_time > @recent_end_time)
511511 GROUP BY p .query_id
512512)
You can’t perform that action at this time.
0 commit comments