tweak snapshotTimeAnalysis script

This commit is contained in:
Collin M. Barrett 2018-02-12 20:15:35 -06:00
parent b987c9016e
commit 2b21663f3e

View file

@ -0,0 +1,9 @@
SELECT
FilterListId,
ModifiedDateUtc - CreatedDateUtc As ProcessingTimeSecs,
CreatedDateUtc,
ModifiedDateUtc,
IsCompleted
FROM snapshots
WHERE ModifiedDateUtc - CreatedDateUtc > 30 OR IsCompleted = 0
ORDER BY ProcessingTimeSecs DESC