作者:儒妹妹_761 | 来源:互联网 | 2023-05-18 04:49
IwanttochangeallvaluesinthetablecolumnQuellendatum.我想更改表格列“Quellendatum”中的所有值。Whenthe
I want to change all values in the tablecolumn "Quellendatum".
我想更改表格列“Quellendatum”中的所有值。
When the row-value is 2005-06-20 then it should be replaced with 2012-06-20. When the row-value is NULL or empty, then it should be untouched.
当行值为2005-06-20时,应将其替换为2012-06-20。当行值为NULL或为空时,它应该是不变的。
Currently i modify this manually by selecting the row:
目前我通过选择行手动修改它:
UPDATE `outgoing2`.`tbl_hochschule` SET `Quellendatum` = '2012-06-20' WHERE `tbl_hochschule`.`id` =1;
Is there a way to automate this task?
有没有办法自动完成这项任务?
4 个解决方案