views:

124

answers:

2

How to select records between a date to another date given a DateTime field in a table....

+3  A: 
Select * from tbl where myDate between #date one# and #date two#
Oded
A: 

select * from blah where DatetimeField between '22/02/2009 09:00:00.000' and '23/05/2009 10:30:00.000'

Depending on the country setting for the login, the month/day may need to be swapped around. Is this what you needed?

Tikeb