Subject | Re: [ib-support] Nextvall |
---|---|
Author | Martijn Tonies |
Post date | 2002-06-04T13:52:28Z |
Hi,
Did you already download the documentation? You can get generator values
by using the GEN_ID function.
GEN_ID(mygen, 1) would be NEXTVAL and
GEN_ID(mygen, 0) would be CURRENTVAL
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
Did you already download the documentation? You can get generator values
by using the GEN_ID function.
GEN_ID(mygen, 1) would be NEXTVAL and
GEN_ID(mygen, 0) would be CURRENTVAL
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
> Hi,Nextval
>
> Is there any command for getting the last value of a generator, like
> function at Oracle or Currval function?
>
> thanks,
>