I am trying to take the results of a dynamic pivot query and inserting it into a temporary table. The last step in the query to be executed is (@query). Here's what I have so far in the attached text file.dynamic-pivot.txt
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
Answers Answers and Comments
19 People are following this question.
Is there a way to Union different tables in the same way Tableau is able to?
variation on the pivot theme
SQL 2005 Stored Procedure in Workgroup Edition
Insert 1000 rows in three tables at the same time
Table alias ignored for columns specified in INSERT statement in SQL Server