List:General Discussion« Previous MessageNext Message »
From:Johan De Meersman Date:March 14 2011 3:08pm
Subject:Re: "IF"
View as plain text  
----- Original Message -----
> From: "Sándor Halász" <hsv@stripped>
> 
> Does the _function_ 'IF' always evaluate its arguments? or only the
> two that it is needful to evaluate?

I'm afraid I'm not authoritative on this, but it seems to me that it would be very very
bad if the third, unused expression were to be evaluated - not only from a performance
point of view, but who is to say that that expression is not a user-defined function that
modifies the database ?



-- 
Bier met grenadyn
Is als mosterd by den wyn
Sy die't drinkt, is eene kwezel
Hy die't drinkt, is ras een ezel
Thread
"IF"hsv14 Mar
  • Re: "IF"Johan De Meersman14 Mar
    • Re: "IF"hsv15 Mar
      • Re: "IF"Peter Brawley15 Mar
      • Re: "IF"Johan De Meersman15 Mar
      • RE: "IF"Jerry Schwartz15 Mar
Re: "IF"Prathima Rao15 Mar