mxODBC

Andrew Chalk achalk at XXXmagnacartasoftware.com
Wed Oct 1 13:21:11 EDT 2003


Thanks! You're a hero, Gerhard.

"Gerhard Häring" <gh at ghaering.de> wrote in message
news:mailman.1065025575.15333.python-list at python.org...
> 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