摘要:
declare @Jan int,@Feb intselect @Jan=count(*) from T_CALL_DOCTORCALL where callstate in(1,2) and updatetime>'2012-01-01' and updatetime<'2012-02-01'select @Feb=count(*) from T_CALL_DOCTORCALL where callstate in(1,2) and updatetime>'2012-02-01' and updatetime<' 阅读全文