tweak snapshotTimeAnalysis script

This commit is contained in:
Collin Barrett 2018-02-12 20:15:35 -06:00
parent a23930f095
commit fc4f0b4642

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