October 16, 2008 at 3:46 pm
I have a CSV file with parents and children in the same row, similar to the structure below:
ParentFirstName, ParentLastName, ParentSSN, Child1FirstName, Child1DOB, Child2FirstName, Child2DOB, ...
I need some expert opinions on the best way to split this flat file into two different tables (data outputs in the Data Flow) in SSIS. The tables I want to create will look similar to this:
Table 1 (Parents):
ParentFirstName, ParentLastName, ParentSSN
Table 2 (Children):
ParentSSN, ChildFirstName, ChildDOB
The actual file has 204 columns with space for 19 children and lots of additional info. Needless to say, I'm looking for the most streamlined and optimized way to accomplish this in SSIS.
Thanks for your help!
Jay
October 24, 2008 at 4:25 pm
1. Setup flat file connection manager to the CSV file.
2. Insert data flow task.
3. Insert flat file source component.
4. Insert multicast component and connect to the source component.
5. Setup 2 destination components (oledb most probably) and connect to the multicast component.
6. Setup your destination result.
Let us know if it worked as expected.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply