Skip to content
Merged
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
38 changes: 19 additions & 19 deletions sp_QuickieStore/sp_QuickieStore.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6600,7 +6600,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_duration =
Expand All @@ -6610,7 +6610,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_cpu_time =
Expand All @@ -6620,7 +6620,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_logical_io_reads =
Expand All @@ -6630,7 +6630,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_logical_io_writes =
Expand All @@ -6640,7 +6640,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_physical_io_reads =
Expand All @@ -6650,7 +6650,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_clr_time =
Expand All @@ -6660,7 +6660,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_dop =
Expand All @@ -6670,7 +6670,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_query_max_used_memory =
Expand All @@ -6680,7 +6680,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_rowcount =
Expand All @@ -6690,7 +6690,7 @@ FROM
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),';

Expand All @@ -6705,7 +6705,7 @@ BEGIN
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_log_bytes_used =
Expand All @@ -6715,7 +6715,7 @@ BEGIN
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_tempdb_space_used =
Expand All @@ -6725,7 +6725,7 @@ BEGIN
qsrs.plan_id,
qsrs.execution_type
ORDER BY
qsrs.runtime_stats_interval_id DESC
qsrs.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
)';
END;
Expand Down Expand Up @@ -7532,7 +7532,7 @@ FROM
PARTITION BY
deqs.sql_handle
ORDER BY
deqs.last_execution_time DESC
deqs.last_execution_time ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_used_grant_kb =
Expand All @@ -7541,7 +7541,7 @@ FROM
PARTITION BY
deqs.sql_handle
ORDER BY
deqs.last_execution_time DESC
deqs.last_execution_time ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_ideal_grant_kb =
Expand All @@ -7550,7 +7550,7 @@ FROM
PARTITION BY
deqs.sql_handle
ORDER BY
deqs.last_execution_time DESC
deqs.last_execution_time ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_reserved_threads =
Expand All @@ -7559,7 +7559,7 @@ FROM
PARTITION BY
deqs.sql_handle
ORDER BY
deqs.last_execution_time DESC
deqs.last_execution_time ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
),
partitioned_last_used_threads =
Expand All @@ -7568,7 +7568,7 @@ FROM
PARTITION BY
deqs.sql_handle
ORDER BY
deqs.last_execution_time DESC
deqs.last_execution_time ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
)
FROM sys.dm_exec_query_stats AS deqs
Expand Down Expand Up @@ -7878,7 +7878,7 @@ FROM
qsws.execution_type,
qsws.wait_category_desc
ORDER BY
qsws.runtime_stats_interval_id DESC
qsws.runtime_stats_interval_id ASC
ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
)
FROM #query_store_runtime_stats AS qsrs
Expand Down