How many OUTPUT parameters can be declared for a stored procedure in SQL Server?

How many OUTPUT parameters can we declare for a stored procedure in SQL Server?

+3
source share
4 answers

According to MSDN , a stored procedure can contain no more than 2100 parameters. The limit applies to all parameters regardless of their direction (input or output).

However, I would advise you to keep the number of parameters relatively low. If you are returning a lot of data or a lot of data, use a result set instead.

+2
source

Mostly almost as much as you like; -)

SQL Server, - 2'100. , 2100, ...

+2
+2
source

You are limited only by the number of parameters that can be stored in the stored procedure, which is 2100 (SQL 2005/2008).

From MSDN :

A stored procedure can have a maximum of 2100 parameters

+2
source

Source: https://habr.com/ru/post/1734034/


All Articles