Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Response to query
Message
De
05/04/2007 06:37:06
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
05/04/2007 03:21:15
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01212334
Message ID:
01212367
Vues:
20
I can see your blog.

Not that I want to involve myself in this merry debate, but Walter's solution builds a cumulative sum only once and stops at the target record, whereas yours does exponential SUM() calculations for every record in the applicable resultset whether the target record is number 2 or number 2000. Just thought that was worth mentioning. ;-)
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform