在存储过程里条件 in后面怎么放变量呀在存储过程里条件 in后面怎么放变量呀 如 declare @aa nvarchar(100) set @aa= 'dsfdsf ' select ID from table1 where id in @aa[解决办法]select ID from table1 where id in (@aa) 加个()