Skip to content
Advertisement

Python how to update a sql server from a dictionary?

I have an INSERT statement that looks like:

How do I turn it into an UPDATE statement?

I’ve got this so far…

Not sure how to join the key/value pairs in the dictionary to make it in the right format.

Edit:

Advertisement

Answer

here is the generated query string that you can use

Read More Here

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement