Python 3 pyodbc retrieve id of inserted record

后端 未结 0 1878
予麋鹿
予麋鹿 2021-01-04 14:51

Within Python 3.8 I have the following code that inserts data into SQL Server:

cursor = conn.cursor()
id = cursor.execute(""" INSERT INTO FOOBA         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题