...
> select last_value from sequence_name
Unfortunately there is the same problem. The documentation say: "It is an
error to call lastval if nextval has not yet been called in the current
session." .... and I don't want to call nextval before.
Sabin