RE: Import CSV file with Key Fields
Personally I would preprocess the data outside of sql then load.But if you want to use sql1. DTS the data into staging table (varchar columns as Mike suggested) including an IDENTITY column 2. Parse the data into rows of ColumnName,Data pairs (including identity) 3. Create table consisting of all columns 4. Insert.Update table with data […]
2004-01-30