You can use a Table Valued Parameter as of SQL Server 2008 / .NET 3.5….
Check out the guide on MSDN
Also, as there other options available, I have a comparisonof 3 approaches of passing multiple values (single field) to a sproc (TVP vs XML vs CSV)
You can use a Table Valued Parameter as of SQL Server 2008 / .NET 3.5….
Check out the guide on MSDN
Also, as there other options available, I have a comparisonof 3 approaches of passing multiple values (single field) to a sproc (TVP vs XML vs CSV)