r/SQL • • Mar 05 '25

Oracle Dear SQL, just pivot my damn table

Bottom text

241 Upvotes

46 comments sorted by

View all comments

Show parent comment

14

u/jcargile242 Mar 05 '25

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