I have a table on a linked server which I access via a synonym.
The table has 75 columns, and only one row used to set up the application visible fields etc.
The table columns are something like:
loc_usage, loc_valid, material_usage,material_valid, screen_usage, screen_valid.
I want to convert this into something a bit more friendly in my database so it's in rows rather than columns like:
parameter Name Usage Valid
location M 1
material O 1
Any ideas how I would go about achieving this, would I have to go through and do select / union on each value?
Thanks