Justin
Justin

Reputation: 403

How many tables can a single SQL Server 2012 database hold?

I am working on C# application to create tables dynamically in a database. What is the maximum number of tables that one single database can hold or best practice for the number of tables to have in a database? The tables are not related to each other.

Note: Database is set to auto grow. There will be no max size for that database.

Upvotes: 2

Views: 1240

Answers (1)

Laerte
Laerte

Reputation: 260

From MSDN:

Tables per database: Limited by number of objects in a database

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.

Upvotes: 4

Related Questions