mysql change all values in a column

后端 未结 4 1159
执念已碎
执念已碎 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:11

    UPDATE outgoing2.tbl_hochschule 
    SET Quellendatum = '2012-06-20' 
    WHERE Quellendatum <> '' AND Quellendatum <> NULL;
    

提交回复
热议问题