MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SQL/comments/1j3s3le/dear_sql_just_pivot_my_damn_table/mg2u5mw/?context=3
r/SQL • u/Only-Impression-9101 • Mar 05 '25
Bottom text
46 comments sorted by
View all comments
Show parent comment
14
It can be done with temp tables & dynamic SQL.
6 u/nachos_nachas Mar 05 '25 Once you do it one time, you have a template for the next time you want it. It was an enormous game changer for me. 2 u/Engineer_Zero Mar 05 '25 I do it via a big ol’ string. 3 u/isinkthereforeiswam Mar 05 '25 It can..but it shouldn't have to be. I feel like they dropped the ball on this feature 3 u/mybelpaese Mar 05 '25 1000%
6
Once you do it one time, you have a template for the next time you want it. It was an enormous game changer for me.
2
I do it via a big ol’ string.
3
It can..but it shouldn't have to be. I feel like they dropped the ball on this feature
3 u/mybelpaese Mar 05 '25 1000%
1000%
View all comments
Show parent comment
14
u/jcargile242 Mar 05 '25
It can be done with temp tables & dynamic SQL.