I need a select statement which will give column name in first result column and the corresponding value in next result column of the Query. the image refers the sample table. Test Table
when i retrieve the value for the ID 1 from test table. It has to give the result set like
I need to get an appropriate result even the column name is different no similar prefix or suffix in the column name. i do not want to change the Query to get the result even if Columns in the table are modified means added/removed.