declare @tab table(Temp_DesId int, Fields varchar(50), Mandatory int, Control varchar(50))
insert into @tab
select 1,'Name',0,'ABC' union all
select 2,'Description',0,'DEF' union all
select 3,'Quantity',0,'GHI' union all
select 4,'Price',0, 'JKL'
select [Name],[Description],[Quantity],[Price]
from ( select Fields, Control from @tab) src
pivot (max(Control) for Fields in ([Name],[Description],[Quantity],[Price])) pvt