I have data based on column id and date...Data Type for date is DATETIME
DataBase : sql server 2008
Query 1:
Select *
from table t1
where (t1.date between '2016-05-11' and '2016-05-13')
Query 2:
select *
from table t1
where t1.date IN ('2016-05-11')
Result is NUll even i have records on this date
So is there any Alternative to fetch records except (<=/</>/>=) greater than or less than