Pouvez-vous mettre à jour NULL dans SQL
UPDATE [table]
SET [column]=0
WHERE [column] IS NULL;
Arrogant Armadillo
UPDATE [table]
SET [column]=0
WHERE [column] IS NULL;
--See records where specific column is NULL
SELECT * from table1 WHERE column1 IS NULL
--Update all the NULL values in the selected column
UPDATE table1 SET column1 = replace_value WHERE column1 IS NULL
--See records where specific column is NULL
SELECT * from table1 WHERE column1 ISNULL
--Update all the NULL values in the selected column
UPDATE table1 SET column1 = replace_value WHERE column1 ISNULL