可能是你在移植的时候出现了问题.
select ascii(null) from dual   --返回null
select ascii(' ') from dual    --返回 32
select ascii('') from dual     --返回null

解决方案 »

  1.   

    插入表的时候不对准备空的字段操作就可以了。缺省为空。
    比如表table1有字段id、names
    insert into table(id) values(1);
    则这一行name就是空的。
    在ORACLE中判断是否为空的方法为select * fro table1 where names is null;
      

  2.   

    Update Tab Set null_column='' Where null_column is null;
      

  3.   

    怎么在asp.net中从oracle读出来的空字符值,在textbox控件中都变了" "
    怎么处理呀...麻烦的不行..
      

  4.   

    Update Tab Set null_column=replace('null_column','空格','')
      

  5.   

    只能这样了,你要是空值它就会自动生成null的,没办法,我也遇到过,我是在程序中自己又处理了一下,希望大家能说出更好的办法 up