
oracle 查询 空值 注意不是 null
为什么我用下面两个语句都查不出数据:selectcount(*)fromAwherenvl(b,'')=''和selectcount(*)fromAwherenvl(b,...
为什么我用下面两个语句都查不出数据 :
select count(*) from A where nvl(b,'') = ''
和select count(*) from A where nvl(b,'') <> ''
我的表A里有大量数据,为什么用上面两个都查不到呢 展开
select count(*) from A where nvl(b,'') = ''
和select count(*) from A where nvl(b,'') <> ''
我的表A里有大量数据,为什么用上面两个都查不到呢 展开
6个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询