📜  如何在sql代码示例中替换空值

📅  最后修改于: 2022-03-11 15:05:19.145000             🧑  作者: 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