How to pass large number of parameters in stored procedure from code to MS SQL

Posted by Ashwani K on Stack Overflow See other posts from Stack Overflow or by Ashwani K
Published on 2010-06-07T05:53:29Z Indexed on 2010/06/07 6:02 UTC
Read the original article Hit count: 318

Filed under:
|

Hello All:

How to pass a large number of parameters (say 20+) to stored procedure from code.

Like we can group all the parameters in one class object and then pass it across, but how to implement such this in case of stored procedures.

Currently I have to create 20+ variables to pass parameters.

Thanks Ashwani

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql