Answers for "if empty in sql"

SQL
0

sql if empty then

SELECT COALESCE(NULLIF(SomeColumn,''), ReplacementColumn)
FROM SomeTable
Posted by: Guest on March-03-2021
0

sql check for null and empty string

IF ISNULL(@param) OR @param = '' THEN doSomething...
Posted by: Guest on August-19-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language