Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many talbes can a dbc contain?
Message
From
27/05/2005 06:53:58
 
 
To
26/05/2005 16:46:37
Bob Clark
Complus Data Service, Inc.
St. Petersburg, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017942
Message ID:
01018053
Views:
12
Hi Bob!

Borislav showed you that numbers can rise quite high. And at least the help chapter about system capacities says nothing about a limit in the number of tables of a dbc.

Depending on how few fields, indexes, relations and other things stored in the dbc the tables have and depending on creating referential integrity code in the dbc or not the maximum number can get very high. There is pretty much no limit of interest, even if the tables are rather complex, each table requires only few records in the dbc. And I'd suspect, you don't really need referential integrity between so many tables. I'd say the memo file (DCT) would be the first file overflowing, if you defined referential integrity.

Some other limits may be more interesting: You cannot open more than 255 tables at a time in a single datasession. Commands (including sql) cannot be longer than 8192 chars, which could be a problem in this scenario. And you cannot query more than 255 fields of several tables with one select.

Why the need for a high number of tables?

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform