5
Or better saying how to make the columns of a search result SQL Server, become lines of the result, as follows in the images below:
A search result using the clause select whichever:
Make the result look like this:
Note: Remembering that I have knowledge that I can do this with UNPIVOT, I’m looking for more solutions that I can solve this.
Thanks in advance.
Using pivot. Look at this link of OS.
– denis
In my case I have to use UNPIVOT, because I want to turn columns into rows, and in the case of PIVOT it turns rows into columns.
– Yure Pereira