On Apr 23, 2009, at 8:53 AM, Wiśniewski, Piotr, (ProService AT) wrote:
Quote:
I've attached tables structures and the QEP.
The query is below. |
[snip]
Interesting, you're getting the old-style flattening where it
materializes
the not-exists condition and matches that up with the rest of the query.
I wonder why it didn't transform that particular not-exists to an
outer join? none of the usual suspects seem to apply (e.g. a
nullable correlation column can suppress the outer join variant,
but it's non-nullable in this case.)
I may have to try your query against a more up-to-date Ingres to
see what happens...
Karl