Using a variable as a column name in t-sql or mssql21.10.25
https://learn.microsoft.com/en-us/answers/questions/910389/naming-a-column-dynamically
Reply
Anonymous
Write a big program only when it is clear by demonstration that nothing else will do.

