Ms access select data greater than datetime range

Spen D picture Spen D · Dec 7, 2012 · Viewed 26.8k times · Source

How to select Data in ms access above this datetime range

like select * from logevents where logTime>='12/6/2012 3:54:15 PM'

logTime is Datetime field

Answer

HelloW picture HelloW · Dec 7, 2012

Adding # signs on each end of your date lets Access know that this is a date type.

select * from logevents where logTime>=#12/6/2012 3:54:15 PM#