Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Parent-Child-Grandchild...
Message
De
01/03/2001 11:19:30
 
 
À
01/03/2001 10:38:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00480544
Message ID:
00481001
Vues:
12
Doh! I was afraid that this is what you wanted! :)

I don't know of any simple way to get that information. You could keep doing LEFT OUTER JOINs for, say, 5 generations, but that would be an arbitrary limit.

Maybe you could check at the Solutions example on the treeviews. It might give you another insight as to how to display your data.

>OK, Sylvain, we are almost there. Thanks very much for your help.
>
>What I need now is:
>
>SQL 1 must return multiple generations: ie children, grandchildren, greatgrandchildren, ...
>
>SQL 2 must return multiple generations of ancestors: ie parent, grandparent, great-grandparent, ...
Sylvain Demers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform