Wonach suchst Du?
What are you looking for?

Set next value of ID Column when Inserting

Overview

you can use nextval('<sequence name>') to the next ID

example

insert into c_invoice (C_Invoice_ID, ....) select nextval('c_invoice_seq'), ... from ....


View source file on GitHub.com