Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to deal with n-tuples when n is variable?
Message
From
09/09/1999 22:30:19
Chris Crachiolo
Blackmoor Associates Incorporated
New York City, New York, United States
 
 
To
09/09/1999 22:11:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00263226
Message ID:
00263228
Views:
22
Can't imagine how else it would be done. And why would the mothers table have to have any specific info on the children? The number of matching records in the child table (which could additionally be keyed on "child number") would yield the information.


>
>I guess the way I'd be tempted to solve this problem would be to create a mothers table with a unique record for each mother which specifies the number of children and the name of, say the oldest.
>The latter would be used in a relation into a table of children where each child's record points to its next younger sibling (or to null).
>
>Is this basic approach (with refinements for obvious problems) what is commonly used, or is there a more widely accepted approach?
"Ignorance more frequently begets confidence than does knowledge."
-- Charles Darwin
"I am invincible! Invincible...OWWWWWWWW!"
-- Homer Simpson
Previous
Reply
Map
View

Click here to load this message in the networking platform