Microsoft
Software
Hardware
Network
Question : Date Sorting
Hi,
I have a query, qry12 there I have a field [Month] I need to sort the date values like as below. Please help.
May-07
Jun-07
Jul-07
Aug-07
Sep-07
Oct-07
Nov-07
Dec-07
Jan-08
Feb-08
Mar-08
Apr-08
May-08
Jun-08
Jul-08
Aug-08
Sep-08
Oct-08
Answer : Date Sorting
SELECT Format([Month], "yyyy-mm") AS Month2
FROM qry12
GROUP BY Format([Month], "yyyy-mm")
ORDER BY Format([Month], "yyyy-mm")
Random Solutions
Exchange Help
Export email addresses from facebook
Excel 2007 Formula Question
how can I get only the time from a datetime column that stores a bunch of datetimes
Database Advise
Mount new FAT partition in DOS without reboot?
Using If..Else in SQL Stored Procedure
set system date and time from other PC
How can I enable a template item accoding to query result ?
How do I allow remote desktop connections through an ISA 2004 Server?