How to set multiple columns of a table using update query in mysql?
A:
Update some_table set this_column=x, that_column=y where something like 'them'
jancrot
2010-09-08 11:59:54
+3
A:
Just add parameters, split by comma:
UPDATE tablename SET column1 = "value1", column2 = "value2" ....
See also: mySQL manual on UPDATE
Pekka
2010-09-08 12:00:15