Subject Re: [firebird-support] Is this possible with a function ?
Author Helen Borrie
At 07:01 PM 20/09/2009, Thomas Steinmaurer wrote:

>If FUNC_SOLD *is* a selectable SP, then you could try:
> a.year
> , a.month
> ,
> , (select sold from func_sold(a.year, a.month, as sold
> mytable a long as the SP returns a singleton, i.e., not more than one row of output. ;-)