Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Calling all PIVOT gurus

$
0
0

Why is Pivot such a DRAG!!!

 

I have this:

 

USER CODE GROUP PIVOT RESPONSE
1 XYZ 1 A Hello
1 XYZ 1 B Goodbye
1 XYZ 1 C Cheers
1 XYZ 2 A Woof
1 XYZ 2 B Big
1 XYZ 2 C Small

 

And want this into a table:

 

USER CODE GROUP A B C
1 XYZ 1 Hello Goodbye Cheers
1 XYZ 2 Woof Big Small

 

I've tried:

 

SSIS Pivot Transform - no banana

Execute SQL task - no banana

PIVOT query in BI DS - no banana

 

Am getting desperate...

Viewing all articles
Browse latest Browse all 24688

Trending Articles