In SQL I write a SELECT statement to fetch data between two dates, using between and
SELECT
between and
Ex:
select * from xxx where dates b
Try this:
select * from xxx where dates >= '2012-10-26 00:00:00.000' and dates <= '2012-10-27 23:59:59.997'