Search
“damiendigital”
More pages from the web
1–1 of 1-
damiendigital.blogspot.com
damiendigital
A blog to share some findings or ideas I do or have while doing my professional work Friday, August 13, 2010 MySQL - Cumulative SUM or Running SUM in MySQL Interesting problem I had to solve today. I needed to create a running sum to report YTD values. One option is to go for cursors. I wanted something more dynamic than creating a stored procedure... An additional issue I had, is that for every change of country, I needed to re-initialize the totals. It is here that the user variables of
