Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outer Join in fp 2.6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00057151
Message ID:
00057268
Vues:
28
>>Ok I lost the file that showed how to do an outer join in fp2.6.
>>
>>can anyone help me out?
>>
>>srussell@bdbc.com wk
>>srussell@wnm.net hm
>>
>>TIA
>>
>>__Stephen Rusell
>>Memphis FPUG
>Stephen,
>
> SELECT ;
> FROM TableA, TableB ;
> WHERE TableA.PrimaryKey = TableB.ForeignKey ;
> UNION ;
> SELECT ;
> FROM TableA ;
> WHERE TableA NOT IN(SELECT ForeignKey FROM TableB)

I believe Jim left ".PrimaryKey" off the "TableA" in the last WHERE clause.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform