CassidyHunt
IS-IT--Management
I need to be able to take a distinct column query and turn the data into the columns of a table on the fly. I.E.
Column_1 Column_2
--------------------------
red 1
blue 2
green 3
to
Red Blue Green
--------------------------
1 2 3
Is there anyone to do this without knowing the numbers of columns that can be produced in advance or know anything about the data contained in the new entity?
Thanks
Cassidy
Column_1 Column_2
--------------------------
red 1
blue 2
green 3
to
Red Blue Green
--------------------------
1 2 3
Is there anyone to do this without knowing the numbers of columns that can be produced in advance or know anything about the data contained in the new entity?
Thanks
Cassidy