Subject Re: [firebird-support] Re: Generators and Stored Procedures
Author Dmitry Yemanov
"buppcpp" <buppcpp@...> wrote:
>
> EXECUTE STATEMENT 'SELECT GEN_ID(MYGEN, :gen_increment) FROM
> RDB$DATABASE' INTO :GVAL;

A dynamic SQL string executed by EXEC STMT cannot contain parameters and/or
variables. This is as designed.


Dmitry