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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -