Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max number of fields good practice
Message
 
 
To
28/09/2019 12:01:52
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01671240
Message ID:
01671244
Views:
45
>>>>Hi,
>>>>
>>>>The main table of my app has about 70 fields (column in SQL Server). And I need to add 6 more fields. This table, for the largest customers is about 700,000 records/rows (in SQL Server) and will probably be 1,000,000 soon.
>>>>In your experience is this number of fields (about 80) too many for the table of this size? I just want to know if I am not "breaking" a good practice.
>>>>
>>>>TIA for you input.
>>>
>>>No problem, you are far from the maximum number of fields. However, if the extra fields will only rarely contain data, I would probably create a separate table. Difficult to say without more details.
>>
>>First, thank you. What is the maximum number of fields?
>>As to creating a separate table, I thought about it. But, as far as design, it will be more overhead (design) and time to implement and maintain. So, for simplicity - as long as I am not breaking SQL Server or VFP, putting these fields in the same table would work better.
>
>For VFP tables the maximum number of fields is 255. For MSSQL it's 1024 (Google to the rescue).

Thank you! (Funny thing is one of my kids works for Google and keep forgetting to use it :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform