Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax help
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01400647
Message ID:
01400673
Views:
32
>Closest UP or Closest DOWN?
>What if you have:
>
>456   04-28-2009	Low
>456   04-25-2009	Zero
>456   05-10-2009	Something
>
>What record should be chosen?

My assumption was that we need the lowest time difference. Otherwise the problem is trivial.

But actually, even in this case it is still trivial if we get the time difference in the result.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform