Stephan Szabo wrote:
>IIRC, currval returns the last value given by the sequence (in nextval) to>this session. What does a select nextval('answer_id_seq') give you?>21453 or 25001?> >2143
Dima