Subject | Re: [firebird-support] aggregate product() or equivalent |
---|---|
Author | Ann W. Harrison |
Post date | 2005-02-04T16:02:48Z |
unordained wrote:
input record streams.
procedure.
Regards,
Ann
> Is there an aggregate function that multiplies all non-null values to provide a result?No...
> If not, isNot really. UDF's work on a single set of inputs - they can't accept
> it possible to write aggregate functions as UDF's?
input record streams.
> This would beYou're probably going to have to put the whole operation in a stored
> to use in a select with group-by, to find total ratios for several items at once, based on the
> product of component ratios.
>
procedure.
Regards,
Ann