MySQL Forums
Forum List  »  Newbie

Re: SELECT matching for TIMESTAMP variable
Posted by: Peter Brawley
Date: October 17, 2016 09:47AM

> I have a TIMESTAMP variable in my database

You mean a timestamp column?

> and need to SELECT records matching the TIMESTAMP

Given the column ts ...

... where ts = '2016-10-16 10:02:30' ...

... where ts between '2016-09-30 12:00:00' and '2016-09-30 17:59:59' ...

Options: ReplyQuote


Subject
Written By
Posted
Re: SELECT matching for TIMESTAMP variable
October 17, 2016 09:47AM


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.