pyodbc is not updating table

前端 未结 1 1631
长情又很酷
长情又很酷 2021-01-19 12:19

Basically I\'m trying to update Column1_mbgl field data in Table1, all based in MS Access database. The script gets executed without any errors, but when the table is checke

1条回答
  •  无人及你
    2021-01-19 12:27

    You forgot to conn.commit() after executing your UPDATE query. The Python database API specifies that connections open with "autocommit" off by default, so an explicit commit is needed.

    0 讨论(0)
提交回复
热议问题