First page Back Continue Last page Overview Graphics

Inserting Data with execute Commit

cursor.execute("""INSERT INTO customer VALUES (

47, 'Informix', 'Jean Forrestier')""")

cursor.execute("""INSERT INTO customer VALUES (

48, 'Knoblix', 'Kurt Knoblauch')""")

connection.commit()

The commit method is called on the „connection“ object