I have a query that always returns one row, with many columns. I would like to turn this into 2 columns and many rows.
Original results:
Col1, Col2, Col3, Col4
----------------------
val1, val2, val3, val4
What I want:
ColName, Value
--------------
Col1, val1
Col2, val2
Col3, val3
Col4, val4
Is this possible?
EDIT (clarification)
I'm looking for an automatic way of doing this. IE something I can pass results from any query that only returns 1 line.