Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use select... where EXISTS ... ?
Message
 
 
To
28/05/2003 09:01:55
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00793069
Message ID:
00793564
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform