日期:2014-05-19  浏览次数:20682 次

很简单的问题,此存储过程错在哪里
@aa   varchar(10)

select   ID   from   table1   where   id   im   @aa

这样写行不行呀

------解决方案--------------------
select ID from table1 where id in @aa
------解决方案--------------------
select ID from table1 where id = @aa