Skip to content

Commit e890826

Browse files
Merge pull request #642 from erikdarlingdata/dev
Dev
2 parents c375e40 + 94b1fe6 commit e890826

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sp_QuickieStore/sp_QuickieStore.sql

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7267,15 +7267,15 @@ BEGIN
72677267
SUM(qsrs.count_executions * (qsrs.avg_logical_io_writes * 8.)) / 1024.,
72687268
SUM(qsrs.count_executions * qsrs.avg_clr_time) / 1000.,
72697269
SUM(qsrs.count_executions * (qsrs.avg_query_max_used_memory * 8.)) / 1024.,
7270-
SUM(qsrs.count_executions * qsrs.avg_rowcount),' +
7270+
SUM(qsrs.count_executions * qsrs.avg_rowcount)' +
72717271
CASE
72727272
@new
72737273
WHEN 1
72747274
THEN N',
72757275
SUM(qsrs.count_executions * (qsrs.avg_num_physical_io_reads * 8)) / 1024.,
72767276
SUM(qsrs.count_executions * qsrs.avg_log_bytes_used) / 100000000.,
72777277
SUM(qsrs.count_executions * (qsrs.avg_tempdb_space_used * 8)) / 1024.'
7278-
ELSE N'
7278+
ELSE N',
72797279
NULL,
72807280
NULL,
72817281
NULL'
@@ -8242,7 +8242,6 @@ WHERE EXISTS
82428242
1/0
82438243
FROM #query_store_plan AS qsp
82448244
WHERE qsqv.query_variant_query_id = qsp.query_id
8245-
AND qsqv.dispatcher_plan_id = qsp.plan_id
82468245
)
82478246
OPTION(RECOMPILE);' + @nc10;
82488247

0 commit comments

Comments
 (0)