Hello, I corrected as you said but i keep on getting the error. You can copy this block in toad and you may reproduce the same behaviour. BEGIN $IF some_condition $THEN NULL; $ELSE res := res || q'[AND NVL(f.value,'-#-') = othervalue ), 0) else 0 end km]'; $IF some_condition $THEN NULL;vd $IF some_condition $THEN NULL; $ELSE NULL; $END $ELSIF some_condition $THEN null; $ELSE NULL; $END NULL; $END END; Thank you for your patience, See you soon, M3rlino
↧