Aí está o comando PIVOT... SELECT * FROM YourTable PIVOT (MAX(Value) FOR ColumnName IN ([Status],[Name],[Created])) as p;