On my access data base, i've got date in "01-Jan-05" format.
Now i do need to quiry that sort the data by month, i'.e Jan-05 Feb-05 ect.
I hope that some one can help me with ssuth a quiry
jorgepino - 27 Oct 2005 21:34 GMT
SELECT MONTH(updatedate) AS months
FROM temployee
ORDER BY months DESC
mxstu - 28 Oct 2005 02:04 GMT
If you are dealing with a date/time column, can't you just order by that column?
SELECT yourDateTimeColumn
FROM yourTable
ORDER BY yourDateTimeColumn
fluiter - 28 Oct 2005 20:44 GMT
What for statement should i use for (updatedate) as i do get a not defined
error.
What i would like see as output
Jan-05
Feb-05
Etc it should strip de day date from de database date (01-)jan-05