Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: problem about Sequence
Jason Jay Weiland <archduke_at_uclink4.berkeley.edu> wrote in article
<36374567.ACD9F75C_at_uclink4.berkeley.edu>...
> Ken,
>
> Try using CURRVAL to find maximum number
> generated from your sequence. You can also get
> additional details from the USER_SEQUENCE table.
You can't use CURRVAL without previously issuing NEXTVAL in the
current session. Grinberg L. article in this discussion solves the
problem completely.
---
Alexander I.Doroshko, aid_at_grant.kharkov.ua