oracle中''和'    '都用' '一个空格来表示,
所以查时应该用column=' '作为条件。

解决方案 »

  1.   

    select *  from CQ_USER  where MM=' '  还是查不出来
      

  2.   

    select *  from CQ_USER  where trim(mm) is null
      

  3.   

    空和空格怎么可以一样
    ''和' '是不一样的。
    select *  from CQ_USER  where trim(mm) is null  这样可以
      

  4.   

    0、''、NULL是三个不同的东西,(NULL!='')=true
      

  5.   

    用select * from table where field=chr(39)||chr(39)
      

  6.   

    select *  from CQ_USER  where (MM is null) or (len(MM) = 0)
      

  7.   

    oracle中'' 和 ' '是不同的,我记得''被默认为null。select *  from CQ_USER  where trim(mm) is null
    试试!