您的位置:首页 > 数据库

sql查询 !='' 和 is not null的区别

2015-05-27 19:44 344 查看
select * from table where a is not null 会把有内容的和内容为空的都查出来
而select * from table where a != '' 只会把有内容的查出来
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: