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

  • SEARCH
  • Home
  • 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 7669517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:36:40+00:00 2026-05-31T15:36:40+00:00

Hei, I am writing an SSIS package to run on SQL Server 2008, importing

  • 0

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 ?

  • 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-05-31T15:36:41+00:00Added an answer on May 31, 2026 at 3:36 pm

    Normally I’d say use the Pivot transformation but that’s not going to work with your scenario as you want to preserve the original line in its entirety.

    The Pivot transformation would make
    1000001 5555557777AAA000000000000…..

    1000001 5555557777BBB000000000000…..
    

    look more like (note the rollup key 1000001 is only listed once)

    1000001 5555557777AAA000000000000….. 5555557777BBB000000000000
    

    I would say will be best served by using an asynchronous script transformation to accomplish this.

    Top search hits for doing this

    • Creating an Asynchronous Transformation with the Script Component http://msdn.microsoft.com/en-us/library/ms136133.aspx
    • SSIS Synchronous/Asynchronous Script Transformations in a Data Flow http://bi-tch.blogspot.com/2008/02/ssis-synchronousasynchronous-script.html
    • How to create an Asynchronous Script Component in SSIS?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hei I’m trying to learn Linq to SQL and wondering if somebody can suggest
hei, Using Linq to SQL (ala NorthWind database for example): How to select all
Hei Is there a way to make Webdriver Firefox driver to run in the
Hei guys, I have the following problem: As I can see those arrows are
I have CSV file with sample data in this form : 220 30 255
How do I select i.e. 10 articles without having to run 1 query to
Hei, i think order by is ordering things wrongly. Example code: static void Main()
Hei there, right now I'm trying to connect two seperate Subapps with one view.
hei. the language is java. i want to extend this class which the constructor
Hei Iam trying to find out how to pring graphs in .net platform .

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.