i have a simple table named "test" in an sqlite DB
columns: id, foo, bar
row1: 1, 5 , 6
row2: 2, 7 , 8
I want to update the rows with the following sqlite statement:
UPDATE test SET (foo, bar) = ( 8, 9 )
according to https://sqlite.org/lang_update.html and the picture there it should be possible. It is also recommended in UPDATE syntax in SQLite
Unfortunately i get
near "(": syntax error:
A Syntax like:
UPDATE test SET foo=8, bar=9
works, but is not the solution here.
Can somebody explain why the list query is wrong?
Thank you!