Код: Выделить всё
-- before: col1=val1, col2=val2
UPDATE my_table SET col1=new_val1,col2=new_val2 WHERE col3=val3
< /code>
SELECT col1,col2 FROM my_table WHERE col3=val3
Подробнее здесь: https://stackoverflow.com/questions/793 ... uncommited
Код: Выделить всё
-- before: col1=val1, col2=val2
UPDATE my_table SET col1=new_val1,col2=new_val2 WHERE col3=val3
< /code>
SELECT col1,col2 FROM my_table WHERE col3=val3