I have a table my_table that has a row_id, column_id, and value.
There are 500 rows and 200 columns, so rows x columns = a rowcount of 100,000.
To flatten all rows, and the first three columns, the below T-SQL works great:
SELECT row_id, , , 
FROM (SELECT row_id, column_id, value FROM my_table WHERE some_fk_id = 0 AND column_id IN (1, 2, 3)) AS src
PIVOT ( MIN(value) FOR column_id IN (, , )) AS tgt
I have 200 columns, and would like to avoid hard-typing , , , ...,  in my T-SQL.
Question: Is there any way in a PIVOT to do an 'all values' for columns?
Thanks in advance.