MySQLdb: getting inserted data

Mirko Koenig koenig at v-i-t.de
Tue Apr 15 16:31:54 EDT 2003


Hi

I want to insert a new empty row into my table and get the value of the
primary key, so that i can identify it.
Because it may happen that there are other empty rows.
So i can't insert an empty row and then make a 

select....where <all values are empty>

So how to get the last inserted row?

Mirko Koenig




More information about the Python-list mailing list