![]() |
#2
wrcyl2008-08-22 16:21
后面这个问题是这样的
|
为什么
这句
set @w_str=' select count(id) from [w_news] where id>0 and n_allid like ''%'+str(0)+'%'''
和
set @w_str=' select count(id) from [w_news] where id>0 and n_allid like ''%0%'''
两个得到的结果不一样呢???
它们不是一样的吗
exec(@w_str)
还有我为什么不能将‘0,1’传到存储过程里面去呢
总是报错,高手帮一下忙啊,十分的急