check if null or empty sql code example
Example 1: t sql null or empty string
select * from vendor
where isnull(vendor_email,'') = ''
Example 2: sql if empty then
SELECT COALESCE(NULLIF(SomeColumn,''), ReplacementColumn)
FROM SomeTable
select * from vendor
where isnull(vendor_email,'') = ''
SELECT COALESCE(NULLIF(SomeColumn,''), ReplacementColumn)
FROM SomeTable