MySQL Forums
Forum List  »  Newbie

Re: pull records from the last 24 hours without hardcoding datetime?
Posted by: Peter Brawley
Date: May 09, 2008 08:51AM

... WHERE entrydate >= NOW() - INTERVAL 1 DAY ...

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Written By
Posted
Re: pull records from the last 24 hours without hardcoding datetime?
May 09, 2008 08:51AM


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.