Anbu,
I think you missed out some thing, relevant with filtering the date in
MS SQL.
Example.. i am filtering records based on the <<created_date>>
column. Date format is "YYYY-MM-DD".
In the left side of the filtering option in editer preference, i
select <<created_date>> field.
In the right side, i give the following statement.
"created_date and cast(datepart(yyyy,created_date) as varchar(4))+'-'+
cast(datepart(mm,created_date) as varchar(2))+'-'+
cast(datepart(dd,created_date) as varchar(2))
=(cast(datepart(yyyy,getdate()) as varchar(4))+'-'+
cast(datepart(mm,getdate()) as varchar(2))+'-'+
cast(datepart(dd,getdate()) as varchar(2)) )"
In the middle, that is operator box, you can select any operator like
=,>,< . But the same operator should placed in the middle of right
side statement.
Balaji VG.