0
I have a table called interessados
, in it have int_data
this field is timestamp()
, I have 5 records with the following dates:
2016-09-01 10:15:00
2016-09-01 10:50:00
2016-09-01 18:35:00
2016-09-01 23:15:00
2016-09-15 10:00:00
How do I select only those of the day 01/09/2016
? Being that it is timestamp()
and I can’t do WHERE int_data
?
Take the test
SELECT to_date('1970-01-01', 'YYYY-MM-DD') + 
 numtodsinterval(1472760605, 'SECOND') as TIMESTAMP
FROM DUAL
and comes a result01/09/2016 20:10:05
– KingRider