摘要: 使用查询分析器书写一些循环,比较方便,例如:declare @i intdeclare @s varchar(8000)set @s=''set @i=3while @i<=28beginset @s=@s+'a.Cash'+cast(@i as varchar)+'='+'a.Cash'+cast(@i as varchar)+'+'+'b.Cash'+cast(@i as varchar... 阅读全文
posted @ 2008-01-09 14:41 一瓢 阅读(718) 评论(0) 推荐(0) 编辑