Subject Re: UDFs accepting multiple parameter types
Author tonypaulday
Doh! Sorry you had already answered this.

Thanks again,

--- In, "tonypaulday"
<tonypaulday@y...> wrote:
> Ah that makes sense, though what will happen if the return type is of
> a different type than what you actually return?
> However even if it's going to be a strict return type the technique
> will still probably be usefull to me so thanks.
> Tony
> ....
> > Yes and no.
> > Result type of UDF is always determined by its declaration.
> > Otoh, input parameters passed by descriptor can be called with any
> > regardless of declaration (e.g. even if parameter is declared as
> "int by descriptor",
> > you can pass string, and UDF will know that the parameter is string).
> >
> > Ivan