简体   繁体   中英

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.

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM