Question : Date Display in Descending Order?

How can I get output that looks like this (only one per day and in descending order)
10/01/10 - Friday
09/27/10 - Monday
12/01/09 - Tuesday
11/01/09 - Sunday
etc

from a table that has DateTime field
10/1/2010
10/1/2010
10/1/2010
09/27/20
12/01/09
12/01/09
12/01/09
11/01/09
11/01/09
11/01/09

Answer : Date Display in Descending Order?

Jess31,

With respect, that sort of detail can be vital, and you really ought to have mentioned that in the original question.

No worries, just keep that in mind next time :)
1:
2:
3:
4:
SELECT MIN(CONVERT(varchar, MyDateTime, 1) + ' - ' + DATENAME(dw, MyDateTime)) AS DateLiteral
FROM SomeTable
GROUP BY CONVERT(datetime, CONVERT(varchar, MyDateTime, 102))
ORDER BY CONVERT(datetime, CONVERT(varchar, MyDateTime, 102)) DESC
Random Solutions  
 
programming4us programming4us