There is a single row of data in a table that will have a varying number of columns named C1, C2, C3.. etc. I can locate that row but i want to un-pivot those dynamic number of columns values into a single column result... I have researched a ton on pivot/unpivot stuff but all examples i've found don't seem to handle the dynamic number of columns in the results.
Native Results:
Col 1 Col 2 Col 3 Col 4 Col 5.... Col X
Id Name DOB City State
Desired Results:
ColumnNameTBD:
Id Name DOB City State
Thank You!
Tim