MySQL Forums
Forum List  »  Newbie

Comparing Dates?
Posted by: Edward Williams
Date: August 21, 2005 04:52PM

Hi,

I have a list of events stored in a database and I'd like to select rows from the database depending on their date, for example events where the date is after today. I have given each row a date column (date_short eg 2005-08-01 for 1st August), how do I select all from a table where date is after today (in numerical terms, greater than today's date 2005-08-21).

Thanks,

Ed

Options: ReplyQuote


Subject
Written By
Posted
Comparing Dates?
August 21, 2005 04:52PM
August 21, 2005 05:06PM
August 21, 2005 05:07PM
August 21, 2005 05:17PM


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.