Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Running Sum Query

    Even more efficient for the test data supplied is this one - almost 9 times faster than the original -- look at the execution plan of the batch when you...

  • RE: Running Sum Query

    A much more efficient version of this takes about 1/6 of the processing:

    SELECT G.OrderDate, G.ProductKey, QtyOrdered = SUM(F.QtyOrdered), G.MTD

    FROM

    (

    SELECT

    ...

Viewing 2 posts - 1 through 2 (of 2 total)