I seem to remember that I couldn't access the temporary table back in C# when I did that but I'll certainly give it another try... SqlParameter p1 = cmd.Parameters.Add("@p1", SqlType.Integer); ...
Stored procedures can speed up your code by reducing trips to your database -- even if you only have one SQL statement to execute. Here's how to speed up your application (and how to simplify your ...