Community

Passing lists to SQL Server 2005 with XML Parameters

(Jon Galloway) I recently needed to write a stored procedure which took a list of ID’s as a parameter. That’s one of those things that seems like it would be really simple, but isn’t. You’d think you could just pass in a comma delimited string of id’s: @ids = ‘3,5,7,8’ and use something like ‘SELECT

Read More - Register for Free Membership