Skip to content
  • Home
  • About

The Difficult Bit

Some software development issues

Month: April 2014

Using XML to pass lists as parameters in SQL Server: the C# Side

The blog post “Using XML to pass lists as parameters in SQL Server” by the wonderfully-named Phil Factor outlines a useful technique to pass lists into stored procedures and functions. Here is a simple function to create the appropriate XML in C# code (assumes it is a list of integers):

continue reading Using XML to pass lists as parameters in SQL Server: the C# Side
Proudly powered by WordPress | Theme: Aventurine by Kelly Dwan & Mel Choyce.