判断数据库字段不为空的语句
判断数据库字段不为空的语句:
判断 数据库字段 :不为空、 不为null 、不为" "
——使用语句: trim(columnA ) != ''
select * from table where module='XX' and trim(columnA ) != ''
(columnA is not null 无法过滤 字段为空的情况。)
posted on 2021-01-08 19:49 CuriousZero 阅读(1335) 评论(0) 编辑 收藏 举报