当前位置:Gxlcms > 数据库问题 > 判断数据库字段不为空的语句

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

时间:2021-07-01 10:21:17 帮助过:46人阅读

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

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

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

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

 

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

 

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

标签:not   ble   语句   and   bsp   table   无法   HERE   sel   

人气教程排行