Answers for "how to assign a default value if no rows returned from the select query"

SQL
0

tsql default value when no value returned by query

SELECT ISNULL(MIN(val), 'DEFAULT')
FROM myTable
Posted by: Guest on December-07-2020

Code answers related to "how to assign a default value if no rows returned from the select query"

Code answers related to "SQL"

Browse Popular Code Answers by Language