Declare a Table Variable based on dynamic pivot columns statement

前端 未结 0 829
春和景丽
春和景丽 2021-01-28 15:33

I want to declare a table variable and fill it from the pivot with dynamic column to perform join statement.

DECLARE @cols AS NVARCHAR(MAX), @query  AS NVARCHAR(M         


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