sql-server-express

pyodbc insert into sql

pyodbc insert into sql Question: I use a MS SQL express db. I can connect and fetch data. But inserting data does not work: cursor.execute(“insert into [mydb].[dbo].[ConvertToolLog] ([Message]) values(‘test’)”) I get no error but nothing is inserted into the table. Directly after I fetch the data the inserted row is fetched. But nothing is saved. …

Total answers: 2