MySQL Forums
Forum List  »  General

Re: Difficult date,time, and miliseconds query
Posted by: sdgbfdsg fdhgfdhds
Date: April 15, 2014 01:19AM

Im using 5.6 but because of compatibility problems, Ive fallen back to using a separate column for ms. Also, we would problably use 5.5 in production.

I tried:

select *
from table
where concat(Time_Stamp,'.',Time_Stamp_ms) between '2014-04-11 13:33:24.500' and '2014-04-11 13:33:25.499'

But the results are incorrect.

Options: ReplyQuote




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.