Transform SQL Server Data With Headers as First Column and the Data as New columns -
i want transform data:
id empname empphonenumber empsiblings 1 jack 4444444 amy 1 jack 6666666 judy
into
employeeparamater value1 value2 id 1 1 empname jack jack employeephonenumber 4444444 6666666 empsiblings amy judy
in sql server, when unpivot data get:
empname - jack empname - jack
Comments
Post a Comment