摘要: declare @set nvarchar(max),@sql nvarchar(max)declare@tablenew table(a float,b float,c float,d float,e float,f float,g float,h float,k float,i float)set @set=''select @set=@set+'['+calendar.LedgerPeriod+'],' from parameter cross join calendar where(parameter.year*100+parameter 阅读全文
posted @ 2012-05-18 10:19 honkcal 阅读(432) 评论(0) 推荐(0) 编辑