Subject Re: Returning generated key was Re: [Firebird-Architect] Re: Indexed Views
Author Dmitry Yemanov
"Roman Rokytskyy" <rrokytskyy@...> wrote:
>
> The only problem is to correctly describe it in
> isc_dsql_describe_bind, so the result set is returned.
>
> I think the answer should come from developers: if there is clean way
> to implement handling of INSERT that returns result set, not a
> singleton result, we can consider it. If implementing it would require
> some dirty hack in the engine, we wait till better times come.

We generally don't support pre-materialized cursors. And I'm not convienced
we should. So, the insert will happen during record fetches. I.e. one fetch
- one insert, the same way as selectable SPs are executed. I'm not sure this
is what people expect from mass inserts.


Dmitry