查询某字段不为空的SQL语句

select top 18 UserName From UserInfo where UserName is not null and UserName <> '' 

posted on 2012-04-09 17:51  saiwo  阅读(523)  评论(0编辑  收藏  举报