What is the best approach to mass upload data from Excel to an application database?

772 viewscircle icon1 Upvotecircle icon4 Comments
Sort by:
Senior Data Scientist in Miscellaneousa year ago

Aside of the two possibilities already mentioned (CSVs from Excel, and Python), if you are sufficiently proficient R this might be a third option using its large set of different connectors to data sources.

Python and R also provide the possibility to do some data preparation and data validation in-between gathering data from Excel and uploading it into the database to ensure that the data types remain correct and formatting is not altered.

Lightbulb on1
Vice President in Bankinga year ago

I believe most standard databases out there support simple file upload option. Which one do you use ?

Lightbulb on1
Vice President, Information Technologya year ago

Python. Literally can be done with 2 lines of code, using something like pandas.

Lightbulb on1
IT Manager in Constructiona year ago

Hi, which DB are you thinking about? Anyway I believe the most important part is the Excel clean up and optimization then a right export usually in CSV and a table schema in the target DB which matches exactly the CSV.
You can try also via API: Google Sheets can serve as a lightweight database, and you can use the Google Sheets API to upload data: https://developers.google.com/sheets/api/guides/concepts

Content you might like

Hybrid administration (across on-prem and Office 365)28%

Keeping groups accurate and up to date52%

Managing and optimizing Office 365 licenses17%

Creating new user accounts1%

View Results

Inevitable4%

Highly likely14%

Somewhat likely16%

Somewhat unlikely18%

Very unlikely43%

Impossible4%

View Results