• noeld (1/27/2009)


    I liked your article ( a lot ) and it seems that you put a lot of effort into it.

    My view of running totals is simple. It is a CLIENT-SIDE responsibility.

    Although it may provide you with an alternative to deliver to the developers what they may want out of the DB

    IMHO looping through an ordered result set in the client is by far more scalable and "faster" end-to-end from the User point of view.

    Just my $0.02

    I'll agree, which is why I had that in the disclaimer at the beginning of the article. What I was really looking at was a process to solve a problem. As I have found many times, prinicples are more important than details. The running total problem with partitioned tables offered a problem and hopefully this article provides a principle that can be applied to similiar problems that may not be a client-side responsibility.

    An accounting professor once told me he rather teach 10 principles rather than 10 detailed tasks. With 10 principles you complete 100 tasks.