May 14, 2007 #1 yuchieh MIS Jul 21, 2000 178 US I have a datetime field in the table. In a query, how do I do "group by month and year", discard the date part in that field? Thanks
I have a datetime field in the table. In a query, how do I do "group by month and year", discard the date part in that field? Thanks
May 14, 2007 #2 monksnake Programmer Oct 14, 2005 2,145 US Group by year(dateColumn), month(dateColumn) <. Upvote 0 Downvote
May 14, 2007 #3 SQLSister Programmer Jun 18, 2002 7,292 US use the month and the year functions Questions about posting. See faq183-874 Upvote 0 Downvote