摘要:--月初 本月一号set @BeginDate = convert(varchar(8),datepart(year,@WhichMonth))+'-'+convert(varchar(8),datepart(m,@WhichMonth))+'-1'--月末 下月一号减一天set @EndDate = dateadd(day,-1,convert(varchar(8),datepart(yea...
阅读全文
posted @ 2006-04-12 09:16
浙公网安备 33010602011771号