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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:51:35+00:00 2026-06-14T10:51:35+00:00

I am getting order information in an Excel file in the following format and

  • 0

I am getting order information in an Excel file in the following format and order. I need to load these into the following tables.

OrderHeader
-----------
OrderNumber
CustomerID

Customer
--------
CustomerID
CustomerFirstName
CustomerLastName

OrderDetail
-----------
Product Information

In C#, I used to load this by reading the data one row at a time and checking for ordernumber and loop through rest of the info if that remained the same as prvious row. Now I am trying to move to SSIS and was wondering if there’s a better approach that i can use or should I be using script task.

OrderNumber CustomerID CustomerFirstName CustomerLastName Product ID Model No Serial No Date of Purchase
----------- ---------- ----------------- ---------------- ---------- -------- --------- ----------------
000001          A1           John              Doe           111      1x1x1x   1s1s1s     11/1/2012
000001          A1           John              Doe           112      1x1x2x   1s1s2s     11/1/2012
000001          A1           John              Doe           113      1x1x3x   1s1s3s     11/1/2012
000001          A1           John              Doe           114      1x1x4x   1s1s4s     11/1/2012
000001          A1           John              Doe           115      1x1x5x   1s1s5s     11/1/2012
000001          A1           John              Doe           116      1x1x6x   1s1s6s     11/1/2012
000002          A2           John1             Doe1          111      1x1x1x   1s1s1s     11/1/2012
000002          A2           John1             Doe1          112      1x1x2x   1s1s2s     11/1/2012
000002          A2           John1             Doe1          113      1x1x3x   1s1s3s     11/1/2012
000002          A2           John1             Doe1          114      1x1x4x   1s1s4s     11/1/2012
000002          A2           John1             Doe1          115      1x1x5x   1s1s5s     11/1/2012
000002          A2           John1             Doe1          116      1x1x6x   1s1s6s     11/1/2012
  • 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-14T10:51:37+00:00Added an answer on June 14, 2026 at 10:51 am

    Just use three data pumps with a SQL SELECT statement using DISTINCT and returning only the fields you need for each destination. You may also need some logic to handle data conflicts, but you weren’t asking specifically about that, so I’m assuming you don’t have that issue.

    Hopefully your OrderDetail table includes the OrderNumber field, or you won’t be getting very far.

    for orderHeader feed:

    Select DISTINCT OrderNumber, CustomerID from XLSsource
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting the order information after the checkout process is finished and I
So I am having trouble getting the information I pull from the database order
I'm following all information about Drive v2 in developers.google.com in order to build a
I am getting and calculating some basic order information in my SQL query. I
I use the following call for getting information from a database: select * from
I am getting student information from database, ArrayList<Student> studentList = session.createQuery(from Student order by
I have the following ColdFusion code that is getting information from a database and
SELECT events.title FROM events ORDER BY events.title DESC I'm getting the proper ordering for
I'm getting started with FubuMVC and I have a simple Customer -> Order relationship
I am working on getting OAuth keys for c2dm push messaging. In order to

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.