Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql if empty then

SELECT COALESCE(NULLIF(SomeColumn,''), ReplacementColumn)
FROM SomeTable
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #empty
ADD COMMENT
Topic
Name
6+6 =