Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dhevi
Starting Member
1 Post |
Posted - 2008-06-19 : 06:34:14
|
Hi everybody,Generally, How many tables a database can hold?Thanks,Dhevi.S |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2008-06-19 : 06:43:26
|
As per Books Online, number of tables limited by number of objects in a database and the sum of the number of all objects in a database cannot exceed 2,147,483,647.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
Lumbago
Norsk Yak Master
3271 Posts |
Posted - 2008-06-19 : 08:47:32
|
"OH NO!! I'll have to scratch my project then...bummer" - Lumbago |
 |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-06-19 : 09:29:15
|
[code]DECLARE @Item BIGINT, @SQL VARCHAR(200)SET @Item = 1WHILE 1 = 1 BEGIN SELECT @SQL = 'CREATE TABLE tbl' + REPLACE(STR(@Item, 40), ' ', '0') + ' (i INT)', @Item = @Item + 1 EXEC (@SQL) END[/code]Please report back when finished. E 12°55'05.25"N 56°04'39.16" |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-06-21 : 21:05:15
|
Read about Maximum Capacity Specifications to know more about the number of objects can be createdMadhivananFailing to plan is Planning to fail |
 |
|
sachinsamuel
Constraint Violating Yak Guru
383 Posts |
|
|
|
|