Viewing 2 posts - 911 through 2 (of 912 total)
Have you tried using partition by in your second one instead of order by? That is:
SUM(Quantity) OVER (PARTITION BY EffectiveDate ORDER BY Holder RANGE UNBOUNDED PRECEDING) AS TQuantity
you may...
September 12, 2016 at 9:47 am
#1900353