Load a csv data file into an MS SQL Server database with a dynamically generated table based on the csv header columns and data values using a powershell script. This script generates the table and ...
I know in Oracle you can use DBA_TAB_COLUMNS (or ALL_TAB_COLUMNS). My SQL Server knowledge is very rusty, but can't you use the INFORMATION_SCHEMA.COLUMNS view?