现在的位置: 首页 > 综合 > 正文

查询非空字段

2013年10月03日 ⁄ 综合 ⁄ 共 121字 ⁄ 字号 评论关闭

 select   *   from   table1   where       replace(isnull(field, ' '), '   ', ' ') <> ' '

select   字段   from   表   where   字段   is   not   null   and   ltrim(字段) <> ' '

抱歉!评论已关闭.