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

Support future growth36%

Automate manual processes59%

Demonstrate compliance49%

Reduce risk exposure43%

Improve customer experience16%

Reduce costs13%

View Results

Keep hard copies and file paperwork13%

Update spreadsheets to create reports44%

Use a digital supply chain management solution27%

Partner with a third-party vendor11%

Other (comment below)3%

View Results