Hi my SQL statement is as follows:
SELECT * FROM event_log WHERE device_id = ABC AND event_time < "9/13/01 1:58:05 PM" ORDER BY event_time DESC
but the results include "9/13/01 1:58:05 PM" and I don't want them to. Is there some other way of doing this when dealing with dates or where am I going wrong
Thanks,
SELECT * FROM event_log WHERE device_id = ABC AND event_time < "9/13/01 1:58:05 PM" ORDER BY event_time DESC
but the results include "9/13/01 1:58:05 PM" and I don't want them to. Is there some other way of doing this when dealing with dates or where am I going wrong
Thanks,