Answers for "sql server how to replace null with 0 in whole table"

SQL
1

replace null with 0 in sql

SELECT IFNULL(Price, 0) FROM Products;
SELECT COALESCE(Price, 0) FROM Products;
-- Oracle (extra):
SELECT NVL(Price, 0) FROM Products;
Posted by: Guest on April-23-2021

Code answers related to "sql server how to replace null with 0 in whole table"

Code answers related to "SQL"

Browse Popular Code Answers by Language