MySQL Forums
Forum List  »  General

Re: ORDER BY date query?
Posted by: Sean Nolan
Date: April 04, 2005 10:12AM

It will sort dates correctly if the column is a date type. If you put a date in a string column then it will sort it like a string and get it wrong.

I'm not sure what you're asking though, what are you going to do with the variable?

Sean

Options: ReplyQuote


Subject
Written By
Posted
April 04, 2005 04:55AM
Re: ORDER BY date query?
April 04, 2005 10:12AM


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.