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

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

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