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' 

http://www.w3schools.com/sql/sql_update.asp


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -