On Wed 05-May-2011 05:10 , Mant, Phil wrote:
Thanks Sam, I changed the code to this and now it works!
Works as in "functions correctly", or as in "no longer gives the
error, therefore output is generated"? I am not sure the rewritten
query is "the same" as how the previous release would have treated the
query. Seems to me there was an INNER join implicit in the original
query, but the rewritten query now has two LEFT joins.? Of course
depending on the data or other factors affecting the data [e.g. ensured
unique data and\or matching on joined data], both queries could produce
the same results... either consistently or just when the data meets the
requirements to effect that.
This mailing list archive is Copyright 1997-2019 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