Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Join v Where
Message
From
24/09/1999 19:20:29
 
 
To
24/09/1999 00:24:10
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00263907
Message ID:
00268834
Views:
59
The INNER JOIN (which is default) is exactly the same as WHERE with "=" conditions.

The records without matches are extracted in the result only if an outer join is used.

Vlad

>You should be aware that joining with the where clause can lose records you intended to keep if a match is not found in the joined table. The join clause doesn't have this effect, and puts null in the fields of records without matches. Theoretically all our databases are normalised, but that's not always the case. I'm not sure which is the correct outcome in sql-92, but keep it in mind.
Previous
Reply
Map
View

Click here to load this message in the networking platform