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

odiseh picture odiseh · Feb 23, 2010 · Viewed 9.6k times · Source

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

Answer

marc_s picture marc_s · Feb 23, 2010

Basically almost as many as you like ;-)

If you check this Technet article Maximum Capacity Specifications for SQL Server, the maximum number of parameters for a stored procedure is 2'100. I don't see any mention whether or not you couldn't have all 2100 being output parameters, if you really must......