SQL Server:
isnull(你的字段," ")Oracle:
nvl(你的字段," ")

解决方案 »

  1.   

    to zhuzhichao(竹之草) 
    能讲的具体一些马?
      

  2.   

    原:
    select a1,a2 from a
    現:
    SQL Server:
    select isnull(a1," "),isnull(a2," ") from aOracle:
    select nvl(a1," "),nvl(a2," ") from a
      

  3.   

    oracle中应该是select nvl(a1,' '),nvl(a2,' ') from a是单引号啊
      

  4.   

    it's the simplest method!
      

  5.   

    but it's an exception  for ejb