sqlite3 - Update one value Python SQLite without effecting others -
i trying update sqlite table value without changing rest. tried this:
cur.execute("insert test values(%s)")
it didn't work , tried google , looked on stackoverflow, couldn't find definite answer.
you want use update
, not insert
. like
update test set value1 = 'foo' value1 = 'bar' , value2 = 'baz'
Comments
Post a Comment