Re: [firebird-support] Re: Get/set context in derived table context

2015-03-21 Thread Louis Van Alphen lo...@nucleo.co.za [firebird-support]
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]" > wrote: > > So, I now used two small SPs with row_count and joined the output. Works fine > for me.

[firebird-support] Re: Get/set context in derived table context

2015-03-20 Thread masb...@za-management.com [firebird-support]
So, I now used two small SPs with row_count and joined the output. Works fine for me. Thanka and kind regards Christian

Re: [firebird-support] Re: Get/set context in derived table context

2015-03-19 Thread Louis van Alphen lo...@nucleo.co.za [firebird-support]
To be really honest, i would not use this 'fragile hack' in a production system for queries. It is not std SQL and like not guaranteed to work as currently in future versions. I only used it to format a temporary report. Sent from my iPad On 19 Mar 2015, at 13:46, "masb...@za-management.com [fi

[firebird-support] Re: Get/set context in derived table context

2015-03-19 Thread masb...@za-management.com [firebird-support]
What I initially wanted to do with this approach is join two datasets from different and different context variables sources with the row numbers as join criteria, which does not work at all, even when the individual queries show matching row numbers. BTW I start all processes with a set_contex