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

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

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

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

 

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

 

相关文章:

  • 2021-10-03
  • 2022-01-23
  • 2021-11-18
  • 2022-01-31
  • 2022-12-23
  • 2022-02-08
  • 2021-12-10
猜你喜欢
  • 2021-08-30
  • 2021-12-14
  • 2022-12-23
  • 2021-07-02
  • 2022-01-07
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案