keep accumulate values from an everyday excel sheet

David Marques 1 Reputation point
2020-09-26T10:29:19.337+00:00

Hello,

How can i keep adding values from an excel file that changes every day in a folder and then present these accumulation in a table in ssms.

28426-cmc.png

in a table in ssms i want to appear the following (yeah this is not an ssms table)

28434-cbcx.png

if possible can you guys do a step by step tutorial in SSIS? i am kinda of a newbie in SSIS.

SQL Server | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cris Zhan-MSFT 6,661 Reputation points
    2020-09-28T03:53:40.033+00:00

    Hi @David Marques ,

    The changes you mean is daily change the original data in this excel file, or append data to the file ? Could you share the sample data(columns) in excel file, the table structure and expected results more specifically.
    First make sure that the excel file structure corresponds to the SQL Server table. For the data retention in the SQL Server table, whether to append the data in the excel file to the table every day or to retain only the latest data of the day.

    Hope following articles will be helpful:
    https://learn.microsoft.com/en-us/sql/integration-services/load-data-to-from-excel-with-ssis?view=sql-server-ver15

    https://www.wiseowl.co.uk/blog/s231/schedule_data_import_in_sql_server_pt1.htm


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.