sorry, I should be more specific. The last query returns no rows, But if I run the exact same thing, replacing the @Actions with the actual value, I get 2 rows back. I don't understand why it does that.
Yeah, T-SQL doesn't support using a variable for an IN clause. You can do it using dynamic SQL ( http://www.sqlteam.com/item.asp?ItemID=4619 ) but that's not usually a great solution. T-SQL is pretty picky about where you can use @variables.
SQLTeam.com - For SQL Server Developers and Administrators