I have a SQL datetime field in a very large table. It\'s indexed and needs to be queried.
datetime
The problem is that SQL always stores the time component (even
Get items when the date is between fromdate and toDate.
where convert(date, fromdate, 103 ) <= '2016-07-26' and convert(date, toDate, 103) >= '2016-07-26'