× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Looks wrong to me. What's your vxrxmx?

At 08:11 AM 3/8/02 -0500, you wrote:
>Hey all,
>
>I created a qry/400 query, joining two files (option 3=Unmatched records
>with primary file).   I saved the query and did a RTVQMQRY to see what the
>sql statement should look like.
>
>what I got was a simple join:
>
>SELECT
>   ALL       T01.ORG, T01.VENID, T01.ORIGORG
>             T01.INVOICE
>   FROM      M30DAP/VOL0 T01,
>             M30DAP/VOH0 T02
>   WHERE     T01.ORG = T02.ORG
>     AND     T01.VENID = T02.VENID
>     AND     T01.ORIGORG = T02.ORIGORG
>     AND     T01.VCHNBR = T02.VCHNBR
>
>shouldn't this have been a 'left outer join'?  I ran the SQL statement and
>got completely different results than the first.  What gives?
>
>I'm on V4R5.
>
>Thanks!
>
>Rick
>
>_______________________________________________
>This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
>To post a message email: MIDRANGE-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
>or email: MIDRANGE-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.