日期:2014-05-18  浏览次数:20357 次

sqlserver08中where =
数据库中的是NULL,我传的值是''或者' ' 
怎么让他们恒等于啊?

------解决方案--------------------
where 列 is null

where isnull(列,'')=参数
------解决方案--------------------
SQL code

 where isnull(列,'')=replace(参数,' ','')