📜  在sql代码示例中将null替换为0

📅  最后修改于: 2022-03-11 15:04:58.154000             🧑  作者: Mango

代码示例3
--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