判断数据库字段不为空的语句

判断数据库字段不为空的语句:

判断 数据库字段 :不为空、 不为null 、不为" "

——使用语句: trim(columnA  ) != ''

select * from table where module='XX'  and trim(columnA  ) != ''

(columnA  is not null   无法过滤 字段为空的情况。)

原文地址:https://www.cnblogs.com/shenxiaolin/p/14253133.html