select count(*) from (
select CONVERT(varchar(12) , Logdate, 111 ) Logdate from Log_Activity where [from]<>0 and user_id=2272 select CONVERT(varchar(1
select count(*) from (
select CONVERT(varchar(12) , Logdate, 111 ) Logdate from Log_Activity where [from]<>0 and user_id=2272 select CONVERT(varchar(1