Subject | RE: [firebird-support] Re: DISTINCT and LEFT JOIN (was: sort record size of 69708 bytes is too big) |
---|---|
Author | Si Carter |
Post date | 2006-03-21T11:35:57Z |
> -----Original Message-----[...]
> Here's another suggestion that doesn't explain your problem, but that
> probably helps you solve it by doing things slightly differently:
> i.e. no DISTINCT, but move the part that I presume made DISTINCTThanks for that, it does work, as you expected. :-)
> necessary - even though it isn't in any output column - into a simple
> EXISTS part.
>TBH, I am still very curious whilst the original DISTINCT didn't work.
> Though this only helps if my assumptions that the selected column with
> this statement is DISTINCT by nature. And, I guess I'm not the only
> person still curious why your initial statement failed.
Thanks for your help with this, and you'll be please to know that ive
re-factored all joins in the db ;-)
Rgds
Si Carter
http://www.fbtalk.net/ - Web Based Firebird Forum
http://sourceforge.net/projects/fbutils - FBUtils
http://sourceforge.net/projects/dnfbb - Web based, Firebird Powered Forum