Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试运行查询以返回所有非空行。但是,我无法做到这一点。
这怎么可能?请协助。
where ISNULL(EmailAddress,'') <> ''
您可以使用:
where emailaddress is not null
或者,坦率地说,几乎任何其他比较NULL也会过滤掉值:
NULL
where emailaddress <> ''
过滤掉零长度的字符串和NULL值。