I am trying to filter by a timestamp, without using a 'raw' time stamp in the filter. if I do this:
SELECT count(*)
FROM table
WHERE timestamp > '2006-01-01'
I simply get every record, but if i use the raw timestamp:
SELECT count(*)
FROM table
WHERE timestamp > 1136073600
I get the expected count.
SELECT count(*)
FROM table
WHERE timestamp > '2006-01-01'
I simply get every record, but if i use the raw timestamp:
SELECT count(*)
FROM table
WHERE timestamp > 1136073600
I get the expected count.