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:
>
>select
> a.year
> , a.month
> , a.day
> , (select sold from func_sold(a.year, a.month, a.day)) as sold
>from
> mytable a

...as long as the SP returns a singleton, i.e., not more than one row of output. ;-)

./heLen