Viewing post 1 (of 1 total)
I would think of using order by then, using top 1 to get the max value.
select top 1 given_field from your_table order by given_field desc
using case statement only makes sense...
February 8, 2011 at 2:08 am
#1283570