User452040443 posted
Hi,
Try something like this:
select
ca.FieldName,
ca.FieldValue
from MyTable as t
cross apply
(
select 'Field1' as FieldName, t.Field1 as FieldValue
union all
select 'Field2', t.Field2
union all
select 'Field3', t.Field3
) as ca
Hope this help