Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sql Stored Procedure With a Lot of Parameters

I am using Sql Server 2008. My Stored Procedure accepts almost 150 parameters. Is there anything wrong with that performance-wise?

like image 866
niaher Avatar asked Dec 21 '25 02:12

niaher


1 Answers

when you are using SQL Server 2008 you can use the new Table parameter. If the parameters are the same, you can easily use the table parameter.

Here is link to the MSDN. Here is another link, a bit more explained

Enjoy.

like image 196
Tamir Avatar answered Dec 22 '25 16:12

Tamir



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!