Hei, I am writing an SSIS package to run on SQL Server 2008, importing fixed delimited text file. The file contain several rows per one user. How to merge the (connected) rows from the file into respectively one row in database table. I have a fixed-delimited file which looks something like that:
1000001 5555557777AAA000000000000…..
1000001 5555557777BBB000000000000…..
1000002 5555557777AAA000000000000…..
1000002 5555557777BBB000000000000…..
1000002 5555557777CCC000000000000…..
1000003 5555557777AAA000000000000…..
1000003 5555557777FFF000000000000…..
1000003 5555557777DDD000000000000…..
I would like to insert it into database table where the rows for particular ID (1000001, 1000002, 1000003, ect.) will become one row:
1000001 5555557777AAA000000000000…..1000001 5555557777BBB000000000000…..
1000002 5555557777AAA000000000000…..5555557777BBB000000000000…..5555557777CCC000000000000…..
1000003 5555557777AAA000000000000…..5555557777FFF000000000000…..5555557777DDD000000000000…..
What will be the recommended strategy with SSIS ?