摘要:
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 阅读全文