How to speed up bulk insert to MS SQL Server using pyodbc
Below is my code that I’d like some help with.
I am having to run it over 1,300,000 rows meaning it takes up to 40 minutes to insert ~300,000 rows.
Below is my code that I’d like some help with.
I am having to run it over 1,300,000 rows meaning it takes up to 40 minutes to insert ~300,000 rows.
Every day, I receive a stock of documents (an update). What I want to do is insert each item that does not already exist.