Hi,
I want records for only one month, between 1st January 2007 till 31st January 2007.
I written following query, but output also gives for January 2008 and 2009 using sql server 2005. Kindly help..
select convert(varchar,LastDate,101), * from Table1 where
(convert(varchar,LastDate,101) >= '01/01/2007' and convert(varchar,LastDate,101) <= '01/31/2007')
-Mac
I want records for only one month, between 1st January 2007 till 31st January 2007.
I written following query, but output also gives for January 2008 and 2009 using sql server 2005. Kindly help..
select convert(varchar,LastDate,101), * from Table1 where
(convert(varchar,LastDate,101) >= '01/01/2007' and convert(varchar,LastDate,101) <= '01/31/2007')
-Mac