Subject | Re: more questions on use of generators |
---|---|
Author | Milan Babuskov |
Post date | 2002-11-13T13:47:41Z |
--- In ib-support@y..., "Alan McDonald" <alan@m...> wrote:
every generator then, right?
Milan B.
> You also do not need a table reallyThis looks like a good idea, but one would need a separate SP for
> This procedure will do the same thing when you
> SELECT NEXTJRECNO FROM GETNEXTJRECNO;
>
> CREATE PROCEDURE GETNEXTJRECNO
> RETURNS (
> NEXTJRECNO INTEGER)
> AS
> BEGIN
> NEXTJRECNO = GEN_ID(JRECNO_GEN, 1);
> SUSPEND;
> END
every generator then, right?
Milan B.