CONTACT US: 778-373-4422 | info@mackenziemackenzie.com


Photo from Pixabay

How to Use executemany to Execute Many Parameterized Queries on Snowflake Using Python

06-August-2021
Sometimes it is necessary to execute many SQL statements against Snowflake using python, whether you need to insert a lot of data from a list, or from sets of tuples you created. Parameterized queries are the safest way to perform this operation, and the executemany method is great because it can save you a lot of time because you can just prepare one statement and submit your lists with it for execution. This way you can insert, update, or delete many rows at once, using one method, and do not need to use a loop or other method to insert your data. Add this to your Python on Snowflake toolkit!



Snowflake Project? Contact me today!

3 Reasons Why You Should Learn Data Techniques

Find 3 big reasons why you should learn data techniques if you are a professional or business person.

Read article

About our workshop

The Professional Problem, 3 Things They Need, and 1 They Don't Have

Why do people constantly run into problems with their data, even when they are highly trained in their area?

Read article

About our workshop

Why Finding Uniqueness is the Key: 6 Methods to Help

Find out why keys and uniqueness are so important for data transformation and data analysis.

Read article

About our workshop

When to Excel and When Not To: Why Specialists Don't Use Excel for Data Transformations

Start your journey in data transformation, and learn why specialists don't use Excel to transform raw data for analysis.

Read article

About our workshop