How to combine multiple results from a loop into one temp table

后端 未结 0 2035
猫巷女王i
猫巷女王i 2020-11-27 19:27

I have this statement:

Declare @sql varchar(max) = \'\'
declare @tablename as varchar(255) = \'test\'

select @sql = @sql + \'select [\' + c.name + \'],count(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题