Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to deal with n-tuples when n is variable?
Message
De
09/09/1999 22:30:19
Chris Crachiolo
Blackmoor Associates Incorporated
New York City, New York, États-Unis
 
 
À
09/09/1999 22:11:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00263226
Message ID:
00263228
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform