Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Read Excel rows and create new output

$
0
0
Hi,

I have an excel file with following data:

Agent            State   Exposure   Insured Name
Rogers Inc     MA      100,000     John Smith
SAN Group     RI       200,000     Jim Morrison
SAN Group     RI       100,000     Jimi Hendrix
123 Agency   MA      300,000     Mickey Mouse
Rogers Inc    MA       50,000      Mike Greenwell

I want to be able to read the file and create new excel files for each Agent listed.

So for Example, the above file would create 3 separate files since there are 3 different Agents listed. Each Agent file would contain the same information from the original file. The name of the file would be somethign like AgentName.xls

So the SAN group file would have this:

Agent         State Exposure  Insured Name
Rogers Inc  MA    100,000    John Smith
SAN Group  RI     200,000    Jim Morrison
SAN Group  RI     100,000    Jimi Hendrix

Is there a way to accomplish this in SSIS?

thanks
Scott

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>