Thread: getting the value from nextval('sequencename')

getting the value from nextval('sequencename')

From
David Giffin
Date:
Is there a way to tell what nextval('sequencename') returned? I have been
doing a seperate query to get it. But in production this would lead to
race conditions.

Thanks,

David