Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

By Jeff Moden,

This article has been rewritten to correct an error and to incorporate some lessons learned including a fix for parallelism, a work around for paritioned tables/views, and to demonstrate additional proofs.  That article is located at:

The discussions for the old article are still available at the following URL

Thank you for your patience during the rewrite.


--Jeff Moden

Total article views: 15446 | Views in the last 30 days: 211
Related Articles

Article Dates

Article dates incorrect?


Dropping Article

Dropping article from existing publication


Republished Article

Well, the first of two articles I originally had published on will be published on ssc tom...


Article Download

Download Support for the articles


Accessing old 'Technical articles'

Accessing old 'Technical articles'

advanced querying    

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones