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!