how to check null or empty string in SQL code example Example: t sql null or empty string select * from vendor where isnull(vendor_email,'') = ''