摘要:
--本周最大值与最小值、平均值 DECLARE @WeekMax float,@WeekMin float,@WeekAvg float,@AddDate varchar(20) DECLARE @WeekStart int,@WeekEnd int,@WeekCount int,@WeekStr varchar(12),@WeekNum int SET @AddDate = CAST(@Year as varchar(4)) + '-' + CAST(@Month as varchar(4)) + '-' + CAST(@Day as varchar(4)) 阅读全文