select column from table wherer column is null;才对

解决方案 »

  1.   

    select column from table where  column1 is not null;
      

  2.   

    请问 这个字段是char型的 已经用空格填满 应该用下面那种方式?
    select column from table wherer rtrim(column) is not null
    select column from table wherer rtrim(column)<>'' 
    谢谢!!!!!!!!!!!!!!!!!!
      

  3.   

    谢谢 !!!!各位问题已解决!!!
    写下来供大家参考!
    结论是如果char型的字段中只存了空格trim后该字段读出的值为null
      

  4.   

    谢谢楼主,其实是你自己试验几下不就知道了吗!或者找些oracle的基本书籍看看,也就知道了呀!