Subject Re: Making evaluation of UDFs constant across a query
Author homerjones1941
>
> Is there a technique to make the return value of a UDF constant across
> the execution of a single query?
>
> For example, I'd like getExactTimestamp() -- or, rather, a UDF very
> much like it -- to return the same result every time it is evaluated...

Can you declare a variable, and then just assign the value once? If so, you could use the value of the variable instead of running the UDF over and over.