Cumulative Total in MS Sql server [duplicate]

The same query is supported from 2012 onwards. In older versions there are several approaches. Refer this http://www.sqlperformance.com/2012/07/t-sql-queries/running-totals

Leave a Comment