I need your help.
I have an .xlsx file which looks like this:
My goal is to create a SSIS package which pushes this data into a DB table.
Now, col1 to col5 is ok, but each section has a name on top of it and that is supposed to be column 6 in the table. So the final destination table looks like:
col1 | col2 | col3 | col4 | col5 | col6 (Firstname Lastname from the top)
So far I have tried:
- Creating a recordset out of the excel sheet
- read recordset row by row using Ado foreach enumerator
- within the for each enumerator I have a set of variables that will represent the columns
- these variables I am flushing out to a data flow task which converts variables to columns using derived column and pushes it into the ODBC destination
Obviously this did not work out for me, I always get the message "0 rows inserted in the ODBC destination" when I run the package.
To be honest I am not really sure how to solve this problem.
Any help is highly appreciated!!!
Thanks in Advance!!!
Edit:
PS: I can not use any one time or Power BI / Query tricks here. It has to be pure SSIS.




