select pvt.* from ( select CustID, ColumnName + '_' + ColumnLabel Combined, ColumnValue from Reports -- where CustID in (4612) ) src pivot (max(ColumnValue) for Combined in ( [yesnoControl1_KITCHEN], [yesnoControl146_KITCHEN] ) ) pvt;The first option can be done too, but via CASE statements rather than via PIVOT due to the single column limitation.
18 People are following this question.