My Table one two three four ---------------------------- 1 2 3 4
column value ------------- one 1 two 2 three 3 four 4
SELECT [column], value FROM MyTable UNPIVOT(value FOR [column] IN (one, two, three, four)) AS unp
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)