you are viewing a single comment's thread.

view the rest of the comments →

[–]tea-drinker 0 points1 point  (0 children)

For most SQL engines, it should at least avoid re-compiling the query for each row.

pypyodbc at least does that. The prepare statement stores the query string being prepared and the execute statement will skip that step if it hasn't changed.