Subject | Re: Generators and Stored Procedures |
---|---|
Author | buppcpp |
Post date | 2005-06-17T21:06:28Z |
<FHector@w...> wrote:
http://groups.yahoo.com/group/firebird-support/message/62039?
threaded=1
> >>CREATE PROCEDURE G (GNAME VARCHAR(31), GSTEP INTEGER)My results are in line with the developer said.
> >> RETURNS (GVAL BIGINT) AS
> >>BEGIN
> >> EXECUTE STATEMENT 'SELECT GEN_ID(' || UPPER(:GNAME) || ', '
> >
> > || :GSTEP || ') FROM RDB$DATABASE'
> >
> >> INTO :GVAL;
> >>END
> >>
> >>Ivan
> >
> >
> > Obviously you havn't tried this...it doesn't work.
> >
>
>
> Sure does it work, just tried it:
http://groups.yahoo.com/group/firebird-support/message/62039?
threaded=1