摘要: /*从开始日期到结束日期计算进销存*/declare @str_dt datetime, @end_dt datetime, @temp_dt varchar(10), @i int select @str_dt='20090401',@end_dt='20090407' set @i=DATEDIFF ( day , @str_dt , @end_dt ) while @i>=0begi... 阅读全文
posted @ 2009-04-07 09:46 kuailewangzi1212 阅读(423) 评论(0) 推荐(0) 编辑