sqlserver08中where =
数据库中的是NULL,我传的值是''或者' '
怎么让他们恒等于啊?
[解决办法]
where 列 is null
where isnull(列,'')=参数
[解决办法]
- SQL code
where isnull(列,'')=replace(参数,' ','')
发布时间: 2012-08-17 02:08:34 作者: rapoo
sqlserver08中where =
数据库中的是NULL,我传的值是''或者' '
怎么让他们恒等于啊?
[解决办法]
where 列 is null
where isnull(列,'')=参数
[解决办法]
where isnull(列,'')=replace(参数,' ','')