I'm design a package to import data from an excel file to SQL server table. The excel file has about 20 columns. The SQL server table has more than 150 columns. So I need set default values to a lot of columns. And also I need process some other columns before import into destination table. Only a few columns will be directly copied in.
I have been trying use Derived Column transfer and Script Component. However, in both design user interface, I have to type in column name to output set on either way. I need type in more than 60 columns and choose data type for each column.
Is there any better way to do this? Is there anyway to grab columns from destination table?
Or is there any other transformation can do this easily?
Thanks