|
Note that one thing to keep in mind is the join fields being specified in Query or SQL
There's two options in both:
F1 joined to F2
F2 joined to F3
Or
F1 joined to F2
F1 joined to F3
The join chosen changes the results. For instance, with Chucks example data slightly modified (F1 has
1-10, F2 has 1-5, and F3 has 2,4,6,8 ) option 1 returns:
SEQNBR SEQNBR SEQNBR
1 1 -
2 2 2
3 3 -
4 4 4
5 5 -
6 - -
7 - -
8 - -
9 - -
10 - -
Whereas option 2 returns
SEQNBR SEQNBR SEQNBR
1 1 -
2 2 2
3 3 -
4 4 4
5 5 -
6 - 6
7 - -
8 - 8
9 - -
10 - -
Pete, make sure you double check the joins being done in query vs. the joins being done in SQL.
HTH,
Charles
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.