Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ms access select data greater than datetime range

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

like image 868
Spen D Avatar asked Dec 07 '12 19:12

Spen D


1 Answers

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#
like image 102
HelloW Avatar answered Oct 20 '22 04:10

HelloW