Excel file to Existing azure sql database table

victorb17 1 Reputation point
2021-05-19T13:36:33.95+00:00

I have an excel file that employees enter data in. I also have an sql database on azure. They have the same columns and column names. Is there an easy way for me to insert the data from the excel file into the existing table? I currently manage to do it through a series of steps: convert .xls to delimited file. Load file into sql management, insert into existing database by creating a new table, copy one table into existing table.

It is a lot of aggravating steps. Surely there is an easy way that I don't know of?!

Thanks!

Azure SQL Database
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2021-05-19T13:41:14.923+00:00

    If the columns as it don't change, only the data changes/get added, the you can use the Import/Export wizard to copy the XLS file content to (Azure) SQL Server.
    See Steps in the SQL Server Import and Export Wizard

    0 comments No comments

  2. Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
    2021-05-19T14:11:23.447+00:00

    Hey,
    On a side note you can also create a Azure data factory pipeline with copy activity copying data from Excel into Azure SQL database table.
    Or even use an SSIS.

    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.