metafresh logo and link to homepage

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 ....


Zur Quelldatei auf github.com