https://developerpublish.com/how-to-return-the-column-names-from-a-table-in-sql-server/
How to return the column names from a table in SQL Server ?