Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use select... where EXISTS ... ?
Message
 
 
À
28/05/2003 09:01:55
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00793069
Message ID:
00793564
Vues:
22
Walter,

Sorry, I wasn't reading the point of your message correctly last night.

Yes, the join would cause multiple rows in the result if the child table had multiple rows, adding DISTINCT would prevent that from occuring.

EXISTS does guarantee 1 or 0 row in the result per pk.

>Where both can return different results depending on the data.
>Only the latter ensures that records of table1 occur only zero or ones in the resultset.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform