Subject Re: [firebird-support] WITH RECURSIVE or not WITH RECURSIVE
Author livius
>>>> This field come from a COALESCE(FIELD1,FIELD2) and both fields have a
>>>> FK.
>>>> Gabor

do you mean that instead id_parent column you have COALESCE(FIELD1,FIELD2)?
IF yes, then only expression index can help here if Field1 and 2 is from
same table.
Without this index i suppose you got NATURAL PLAN...

regards,
Karol Bieniaszewski


---
Ta wiadomość została sprawdzona na obecność wirusów przez oprogramowanie antywirusowe Avast.
https://www.avast.com/antivirus