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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:55:32+00:00 2026-05-29T06:55:32+00:00

I receive new data files every day. Right now, I’m building the database with

  • 0

I receive new data files every day. Right now, I’m building the database with all the required tables to import the data and perform the required calculations.

Should I just append each new day’s data to my current tables? Each file contains a date column, which would allow for a “WHERE” query in the future if I need to analyze data for one particular day. Or should I be creating a new set of tables for every day?

I’m new to database design (coming from Excel). I will be using SQL Server for this.

  • 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-29T06:55:33+00:00Added an answer on May 29, 2026 at 6:55 am

    Assuming that the structure of the data being received is the same, you should only need one set of tables rather than creating new tables each day.

    I’d recommend storing the value of the date column from your incoming data in your database, and also having a ‘CreateDate’ column in your tables, with a default value of ‘GetDate()’ so that it automatically gets populated with the current date when the row is inserted.

    You may also want to have another column to store the data filename that the row was imported from, but if you’re already storing the value of the date column and the date that the row was inserted, this shouldn’t really be necessary.

    In the past, when doing this type of activity using a custom data loader application, I’ve also found it useful to create log files to log success/error/warning messages, including some type of unique key of the source data and target database – ie. if coming from an Excel file and going into a database column, you could store the row index from Excel and the primary key of the inserted row. This helps tracking down any problems later on.

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

Sidebar

Related Questions

I have some large tables (millions of rows). I constantly receive files containing new
I'm a reporter who works with data sets. Every time I receive a new
I'm new to Qt and I'm learning something new every day. Currently, I'm developing
Right now I have a simple class that handles the parsing of XML files
Every frame, my program will receive a new image from a USB video camera.
I am new to ruby. I need to receive password as an input through
I'm building an SMS call and response system in a new app that receives
I work on Windows app and every week I want to upload the new
I'm using the excellent OpenIso8583Net to send/receive ISO messages. However, since every organization has
I'm building a component of a web page that needs relatively constant database polling.

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.