Given your requirement that is the best option and the safest from a compatibility point of view
Sent from my iPhone > On 20 Mar 2015, at 13:19, "masb...@za-management.com [firebird-support]" > <firebird-support@yahoogroups.com> wrote: > > So, I now used two small SPs with row_count and joined the output. Works fine > for me. > > Thanka and kind regards > Christian > >