MySQL Forums
Forum List  »  General

Re: SELECT DISTINCT For Month and Year?
Posted by: James Maxon
Date: February 10, 2005 09:46AM

Hi Nick,

Thank you for the help. I'm not sure if you are familiar with ASP but I can't seem to get this to work.

I have: mySQL = "SELECT DATE_FORMAT(DateEntered, '%M %Y') as mon_yr FROM Y4K GROUP BY mon_yr;"

I put my date field called DateEntered where you said my_date. Is that correct? It seems to not give an error when I just have the MySQL but I can't figure out how to write it using ASP now, I get an error when I try.

Thanks again,
- James

Options: ReplyQuote


Subject
Written By
Posted
Re: SELECT DISTINCT For Month and Year?
February 10, 2005 09:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.