Newbie doing SSIS import of csv and excel files. Things have been going well until I ran into an excel file with multiple header rows. The number of rows between the headers varies. I only need to import the rows between two of the rows based on the value in column 1. Just say I only need to read the data between Role and Work Item I have no idea where to even start on this one. Here is a small sample of the data.
Work Items 1 2 Primary Data View 5 6 7 8 Priority 11 12 13 Role 15 23 22 12 Work Item 12 45 Actor Items 55 22 33 52
Advertisement
Answer
Based on the information provided I assume the source file and filter records would be different. I would say extract all the data into a staging table. Now do a transform query on the staging table to filter on required criteria and lastly would load only the filtered records into the target table.