your query is okey, if you want to get frequencies for each date.either this:select count(*)as frequency ,convert(char(10),timestamp1,101) from table1 group by convert(char(10),timestamp1,101) order by convert(char(10),timestamp1,101)
or if you want to have a date range do as following:select count(*)as frequency ,convert(char(10),timestamp1,101) from table1 where convert(char(10),timestamp1,101) between '07/10/2010' ane '07/14/2010'group by convert(char(10),timestamp1,101) order by convert(char(10),timestamp1,101)