MySQL Forums
Forum List  »  Newbie

Re: How to mysqldump of table with where condition for all data older than a certain epochtime value
Posted by: Peter Brawley
Date: August 07, 2016 01:50PM

from_unixtime(1470268800975) returns Null. what's the result of this?
select count(*)
from homescada.generalhistory
where `EpochTime` > '1470268800975'

I misread your Between args. What is the result of this?
select count(*)
from homescada.generalhistory
where `timestamp` between '2016-06-11 09:26:01' and '2016-08-05 09:26:01';

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.