Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Match left side...
Message
De
13/08/1999 14:06:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00253557
Message ID:
00253581
Vues:
13
>>I have two tables linked by an id# (and a few other fields)
>>
>>I want to keep the first table exactly as it is (that is to say, with out adding records) but add the fields from the second table to the end of the first table.
>>
>>If there is no match, blank fields are fine. If there are multiple matches, I just want the first one. NO ADDING RECORDS ALLOWED! How do I do that? I tried a left join, but got back too many records.
>>
>>I want all the parent records, no more, no less.
>>
>>Thanks!
>
>Use the groupby for the linking id.
>
>HTH

Yech. Is that the best I can do. Darn I was hoping I just was missing something when it came to the join syntax. Ok, ok... I'll group by the key fields. Thanks for your help Dan! You are the ... I bet you get that all the time, I won't go there :-)
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform