Best approaches for running totals – updated for SQL Server 2012 Usually, changing a cursor to a set-based operation is sound advice, but there are some exceptions, like the one described here (running totals). Aaron Bertrand ◆ July 24, 2012 33