ok. did this >>> cursor.execute("DELETE FROM table WHERE autoinc > 1000") 245L >>> cursor.commit() i got an AttributeError 'Cursor' object has no attribute 'commit' hmm. what should i do now? the stuff about writing a lightweight layer between the dbapi and the program shot right over my head. sorry, but thanks