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 3237230
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:42:52+00:00 2026-05-17T17:42:52+00:00

I have a rather complex Flat File that I’m trying to parse using SSIS.

  • 0

I have a rather complex Flat File that I’m trying to parse using SSIS. The overall structure of the flat file is as follows:

CustomerName,
CustomerAddress,
CustomerContactInfo,
InvoiceDate1,
InvoiceAmount1,
InvoiceDate2,
InvoiceAmount2,
InvoiceDate3,
InvoiceAmount3

I’m trying to load this into two tables in my database, a Customer table and an Invoice table. CustomerName, CustomerAddress, and CustomerContactInfo all need to be inserted into the customer table. InvoiceDate1 and InvoiceAmount1 need to be a row in the Invoice table with a foreign key to the Customer table. Same for InvoiceDate2 and InvoiceDate3.

I tried using just the unpivot transformation, but it wants to unpivot the Customer too, and I can’t do that. Is there a good way to handle this in 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-17T17:42:53+00:00Added an answer on May 17, 2026 at 5:42 pm

    In your Data Flow, you can use the Multicast component to send a the data down multiple paths. After the Source component add the Multicast component. From one Multicast output send the data to the Customer table. You can ignore the unused columns in any subsequent component.

    In the second output from the Multicast, attach the Unpivot transformation. Have it ignore all columns that you don’t want to include in the Invoice table. Then, it will process only the column that will be added to the table.

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

Sidebar

Related Questions

I have this rather complex query that grabs data from three tables, and now
I have a rather complex logical query I'm trying to execute. Essentially there are
I have a rather complex decorator written by someone else. What I want to
I have a rather complex custom control - the custom control has a couple
I have a rather complex ListView, with variable list item heights. Under certain conditions,
I have been happy serializing with javascript objects into JSON using JSON.stringify And sending
Making my Asteroids clone (in C) I've rather fallen in love with vector-based entities,
I've been spending some time refactoring my C# code, and I'm struck by how
I'm working on a very graphic-heavy application which uses content from a bunch of
Possible Duplicate: Why is it a bad practice to return generated HTML instead of

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.