MySQL Forums
Forum List  »  Newbie

Re: Date equality query
Posted by: Peter Brawley
Date: May 17, 2016 11:20AM

Timestamps contain date and time values, so they're never equal to a date.

Try ...where date(timestamp)=... or where left(timestamp,10)=...

Options: ReplyQuote


Subject
Written By
Posted
May 17, 2016 10:44AM
Re: Date equality query
May 17, 2016 11:20AM
May 23, 2016 03:37PM


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.