Обсуждение: getting the value from nextval('sequencename')

Поиск
Список
Период
Сортировка

getting the value from nextval('sequencename')

От
David Giffin
Дата:
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