mxODBC

Gerhard Häring gh at ghaering.de
Wed Oct 1 12:26:52 EDT 2003


Andrew Chalk wrote:
> What is wrong with the following attempt to perform an SQL INSERT? No error
> is thrown but no data is inserted into table FRED in the database.
> Especially odd is that SELECT statements work! The database is MS SQL Server
> 2000. [...]

You don't seem to commit the transaction. Invoke .commit() on the 
connection object to do so.

-- Gerhard





More information about the Python-list mailing list