Hi all,
I have a Problem in Retrieving records by giving from and to date. I want to fetch record for date Feb 08 2010, and I should use To and From date fields. I tried:
select * from dbo.BuzzMaster
where date >= '2/7/2010'
and date <= '2/8/2010'
Output:
Not able to retrieve records for date '2/8/2010'
I get the record for date '2/8/2010' only if I give:
select * from dbo.BuzzMaster
where date >= '2/7/2010'
and date <= '2/9/2010'
(or)
select * from dbo.BuzzMaster
where date >= '2/8/2010'
and date <= '2/9/2010'
So how do I do that by selecting date 2/7/2010
and '2/8/2010'?
Thanks in advance.
Naveen