New answers tagged


Comments on your approach The most obvious thing to me is that you're already inserting all of your data into the temp table; why not just join to it? You can dynamically pivot into a better, strongly-typed table instead (see this post), and then you don't need to muck around with the parameter stuff. I also think I think you're overcomplicating this by a ...

Top 50 recent answers are included