Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

query on CSUM - response (4) by vuyyuru

$
0
0

Thank you dietier... but my requirement is not this...
 
I want to get the cumulative sum for the missing dates in the source table .....
example...
In the above source table i do not have any transactions for 02 nd and 3rd jul 2013... but still i need cumulative sum for these dates also like below...
if any user transacation is missing in the source table the the previous date cum sum should be get the in missing dates.........
 
B                        5                   7/1/2013         5
B                        0                    7/2/2013         5
B                        0                    7/3/2013         5


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>