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
In MySql you can do:
UPDATE TABLENAME
SET IDCOLUMN=VALUE
WHERE IDCOLUMN=VALUE
AND !isnull (IDCOLUMN)
How about:
UPDATE outgoing2.tbl_hochschule
SET Quellendatum = '2012-06-20'
WHERE Quellendatum = '2005-06-20'
AND !isnull( Quellendatum );
it should be :
UPDATE tablename
SET Quellendatum = '2012-06-20'
WHERE Quellendatum = '2005-06-20'
UPDATE outgoing2.tbl_hochschule
SET Quellendatum = '2012-06-20'
WHERE Quellendatum <> '' AND Quellendatum <> NULL;