Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql Help
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
01439765
Message ID:
01439831
Vues:
24
>No, I don't want :-)
>Why should I?
>I want to get to this range where the Overweight belongs.
>the PreviousAmount column contains the total of ALL previous ranges and I need to calculate only difference between the Overweight and MinRange.

I see now, OK. So either of the ideas will work, but I like George's for its simplicity and no need for an extra column.

On the other hand, with the PreviousTotalAmount will work quicker - less records to join.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform