Subject | Partial update |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2017-02-13T19:40:32Z |
Hello, All.
If I use prepared statement like this "update table set field1=?, field2=? where
field3=?" for performance reasons, is there a way to update only some fields and leave
other untouched without overhead of building separate queries on the fly or selecting old
values with different query?
--
WBR, SD.
If I use prepared statement like this "update table set field1=?, field2=? where
field3=?" for performance reasons, is there a way to update only some fields and leave
other untouched without overhead of building separate queries on the fly or selecting old
values with different query?
--
WBR, SD.