When querying a SQL Server database, there may be times where you don’t want null values to be returned in your result set. And there may be times where you do want them returned. But there may also be times where you do want them returned, but as a different value.
That’s what the ISNULL()
function is for.
ISNULL()
is a T-SQL function that allows you to replace NULL
with a specified value of your choice.