补充说明 : 我用的是sybase数据库  好像在oracle里面发帖不太好

解决方案 »

  1.   

    null的判断只能通过is null 和is not null 来。其他像= 和!=之类的 都不会成立。
      

  2.   

    is null ////   is not null 来判断
      

  3.   

    null != 'ss'实质上既不返回真也不返回假吧
      

  4.   

    你的这句话"难道是aa作为查询条件的时候本身就被判断为不能为null了吗"如果要成立的话、应该理解为在这里null是Oracle 5 种约束中的一种吧
      

  5.   

    在Oracle中用于判断是否等于null,不是用=实现的,而是用is  null或者用is not null 实现的。
      

  6.   

    NULL不能通过=和!=判断相等,要用is null 和 is not null
      

  7.   


    同意楼上的各位大大
    null 在oracle中,要用is null 和is not null 来判断
      

  8.   

    select * from where 字段 is not null;
      

  9.   

    oracle里面null不能与任何值除了自己。
    可以试试
    select * from dual where null is null;
    select * from dual where null != null;
    select * from dual where null is not null;
    select * from dual where null = '';
    select * from dual where null != '';
    看玩这个你就会明白了