hola, no se si alguien me pueda ayudar con esta duda que tengo
mi stored procedure en sql server tiene estos parametros
@type int, @user varchar(70), @team varchar(50),@week intcuando ejecuto esto
 insert #idlepptA   select  [nameR],[team],[year],[week],sum([hours])as[hours] from [RIA].[dbo].[ReportSapAllDetails] where [team]in(@team) and [user]=@user and [statusSAP]in('Idle') and [week]=@week group by [nameR],[team],[year],[week] 
        select * from #idlepptAy lo ejecuto de esta manera
 exec [RIA].[dbo].[idle]  4, '146_250_74_48',''Integration C4','Integration C3'','11'no me trae valores, solo si le pongo un solo team
 exec [RIA].[dbo].[idle]  4, '146_250_74_48','Integration C4','11'asi si si lo hace pero yo necesito que igual me traiga todos, desde ya gracias!



