您的位置:首页 > 数据库 > Oracle

(转) sqlserver,mysql,db2,oracle中判断字段的值不为空

2015-12-29 20:19 573 查看
转载博文地址:/article/11679020.html

oracle中:

select distinct columnid from db2admin.yc_visitstat where columnid<>’ ’ and columnid is not null

select * from 表名 where 字段名<>’ ’ and 字段名 is not null

sqlserver,mysql,db2中:

select * from 表名 where 字段名 <>”

上一篇X-UA-Compatible,IE8 兼容模式

下一篇mysql设置utf8_unicode_ci字符集php页面输出??乱码的解决方法
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: