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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:04:41+00:00 2026-06-14T13:04:41+00:00

I am extracting data from excel files where the data accumulates in the same

  • 0

I am extracting data from excel files where the data accumulates in the same excel file each week. For example, week X will contain data from week 1 through week X. Then week X+1 will contain data from week 1 through week X+1. What is the most efficient way to load this accumulated data into a database? Currently, I am clearing the entire database then loading data from weeks 1 through the current week. Obviously this process is inefficient as I am clearing data from my database only to load it back into the database again…

For the following ideas I have could someone help me decide which is the best route to go? Or if you have any better ideas please let me know. All help is appreciated!

  1. Is there a way to efficiently compute the “set difference” with excel files? Then I could load the difference from the current week’s file and last week’s file.
  2. I could keep track of all the weeks in which I have loaded data, and then “query” the excel files for the weeks that are not in the database. I would hope this querying would be efficient through hashing.

I think a necessary question to get either of the above ideas to work is: In what ways through SSIS can I manipulate data in excel?

  • 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-14T13:04:43+00:00Added an answer on June 14, 2026 at 1:04 pm
    • Persist the last full date you procesed in a control table
    • Read the date into a package variable
    • Change your Excel Source Editor -> Data Access Mode to run as a SQL Command
    • Enter the sql statement, including sheet name and enter ? for the parameter value. e.g. SELECT * FROM [Sheet1$] where extractdate > ?
    • Click the parameters button and assign the parameter variable (second step) to the sql statement
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running a package which is extracting data from a single flat file
I am working on a project that requires reading text files, extracting data from
I am extracting data from excel in ssis . One of the excel column
My application is extracting the data from excel sheet. I am storing the value
I have tried using a example file using PHPExcel script to extract data from
I am using apache poi 3.5 for extracting data from the excel sheet.i having
I am trying to get data from Excel File to DataTable. Here's my code-snippet
I am extracting data from web service(xml file) using NSXmlParser.How can I write to
I am extracting data from excel that is in this format product1 | unnamedcol2
We are extracting data from an oracle database to a file using C# oracleDataReader,

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.