Hello,
I am using the following query;
select count(*), convert(varchar,DateTime,101) from divuk group by datetime
I would like it to count all the DateTime records that are the same and group by them but i get the following output,
count/datetime
1 10/10/2004
1 01/25/2005
1 01/25/2005
1 01/25/2005
1 01/25/2005
1 01/25/2005
1 01/25/2005
1 01/25/2005
1 01/25/2005
1 01/25/2005
Can anyone help?
thanks