Its more like:
create proc [dbo].[GetRequestsItems](@RequestIds as varchar(8000)) as
exec('select ri.id, ri.RequestID, ri.Namefrom RequestItems ri with(nolock)
where RequestID in ('+@RequestIds+')')
and then you pass in a string of ids like: "3, 47, 10, 9"
JBrooks
2009-08-01 01:00:41