Subject | Re: Generators and Stored Procedures |
---|---|
Author | buppcpp |
Post date | 2005-06-17T19:03:01Z |
--- In firebird-support@yahoogroups.com, "Ivan Prenosil"
<Ivan.Prenosil@s...> wrote:
<Ivan.Prenosil@s...> wrote:
> CREATE PROCEDURE G (GNAME VARCHAR(31), GSTEP INTEGER)|| :GSTEP || ') FROM RDB$DATABASE'
> RETURNS (GVAL BIGINT) AS
> BEGIN
> EXECUTE STATEMENT 'SELECT GEN_ID(' || UPPER(:GNAME) || ', '
> INTO :GVAL;Obviously you havn't tried this...it doesn't work.
> END
>
> Ivan