Answer the question
In order to leave comments, you need to log in
Postgres 2 queries in one?
how to execute two requests with one request?
SELECT COALESCE(setval('techbase.item_id_seq', max(id)),nextval('techbase.item_id_seq')) FROM techbase.item,
(SELECT
nextval('techbase.item_id_seq')) as sel
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question