Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql Help
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
01439765
Message ID:
01439831
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform