mysql change all values in a column

后端 未结 4 1182
执念已碎
执念已碎 2021-01-01 10:25

I want to change all values in the tablecolumn \"Quellendatum\".

When the row-value is 2005-06-20 then it should be replaced with 2012-06-20. When the row-value is N

4条回答
  •  北海茫月
    2021-01-01 11:04

    it should be :

    UPDATE tablename 
    SET Quellendatum = '2012-06-20' 
    WHERE Quellendatum = '2005-06-20'
    

提交回复
热议问题