Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9021793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:20:27+00:00 2026-06-16T05:20:27+00:00

In a Data Flow, I have a ADO NET Source which load a table

  • 0

In a Data Flow, I have a ADO NET Source which load a table like this:

PersonID, Email
1, "john@hotmail.com"
1, "john_job@yahoo.com"
2, "susan@gmail.com"
2, "sus2010@hotmail.com"

I need to merge emails from each persons and get a result like this:

PersonID, EmailsArray
1, "john@hotmail.com,john_job@yahoo.com"
2, "susan@gmail.com,sus2010@hotmail.com"

How to I do it? Using derived column? a script component? a foreach loop? (in Data Flow doesn’t exist). Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:20:28+00:00Added an answer on June 16, 2026 at 5:20 am

    Use an asynchronous script component with something like the following logic:

    1. Sort your data on the ID column.
    2. In the script component, declare a variable that keeps track of the previous id, assign it to the ID column of your input buffer at the end of your script.
    3. For each row in the input buffer, concatenate the email field to a string variable.
    4. Check if the previous ID is equal to the current ID (coming from your input buffer). If it is different, add a row to the output buffer with the previous ID and the concatenated string. Reset the string as empty.

    MSDN

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have simple SSIS data flow which extract records from table A and load
I have an SSIS package with a Data Flow that takes an ADO.NET data
I have an ADO.Net connection using an ODBC data source to connect to our
I have a SSIS package which reads an Excel File (Data Flow Source) and
I have an SSIS package which reads an Excel File (Data Flow Source) and
I have a SSIS Data Flow Task with an OleDb Source, Conditional Split (w/
data table contain column named as Fld_primary. this column contain value like 0.00 it
I have a case of updating the target table where source columns data not
I Have Created SSIS package which selects data from Source DB and Inserts it
I have a data flow process where I have an OLEDB Source and an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.