Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many stored procedures I can create in a single database?

I would like to find out the maximum number of stored procedures we can create in a single database.

like image 341
Vineeth N Avatar asked Jan 15 '23 02:01

Vineeth N


1 Answers

Maximum Capacity Specifications for SQL Server says:

Database objects include objects such as tables, views, stored procedures, user-defined functions, triggers, rules, defaults, and constraints. The sum of the number of all objects in a database cannot exceed 2,147,483,647.

In other words, there are no hard upper limit specifically for stored procedures, but the total number of objects must be no more than 2,147,483,647. And I would say, if this limit is of any concern to you, you need to re-evaluate your database design.

like image 69
driis Avatar answered Jan 30 '23 23:01

driis