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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:34:14+00:00 2026-05-12T14:34:14+00:00

We are evaluating SSIS to see if it will be appropriate for a new

  • 0

We are evaluating SSIS to see if it will be appropriate for a new project that is coming up. One of the processes will have to process a flat file with delimited records. The file will contain orders. There is a header line, an (optional) shipping address line, and one or more detail lines. Each line’s fields are delimited but are not the same format.

I read this answer:

SSIS transactional data (different record types, one file)

And I can split the data using the Conditional Split task to produce several outputs, but am not sure how to proceed from there. I have two issues that I need to resolve:

  1. The order header should be inserted first, before the address and details since the address and details will reference the order record, so I think I need to process that output first, but I’m not sure in SSIS how to make that branch of the Conditional Split task be processed before the other branches. Ideally, I would like to process the order header and then store the order id in a user variable so that when processing the details, I can reference that variable.

  2. There will be multiple orders in the file, so splitting it is more complex.

I could always write an application in C# that will preprocess the file or read the file into a staging table, but I’m not sure I like that approach.

Can anyone who has been through this process share some insights into how they dealt with it?

Thanks,

Chris

  • 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-12T14:34:14+00:00Added an answer on May 12, 2026 at 2:34 pm

    After the split, deposit each type of record into it’s own staging table – or into a ssis raw data destination, which is faster and good for intermediate steps like this. Then load all the headers into their final table and proceed without referential errors.

    I’m assuming the detail records have a headerID in them? That should make dealing with your 2nd question easy. If not, let us know.

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

Sidebar

Related Questions

When evaluating the value of myObject.myMember My guess is that javascript will try to
Evaluating Tinymce. I've looked at the docs/source/api, and have a question that I thought
I'm evaluating Hibernate Shards for a project that uses hibernate-jpa. I was wondering how
I have begun evaluating MonoDroid. (I've built many apps using Android+Eclipse) I created new-from-template
While evaluating Visual Studio 2010 Beta 2, I see that in the converted directory,
I am evaluating Rich Internet application solutions to use in next project. I have
I'm evaluating a few ORM's for a new project. Can the Entity Framework (v4)
I'm evaluating and looking at using CherryPy for a project that's basically a JavaScript
We are evaluating MongoDB with my team and I have a couple questions that
I'm evaluating several Comet servers because I need HTTP Push in a new project

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.