How do I Insert a row to a table in oracle using a sequence in sql?
INSERT INTO MY_AWESOME_TABLE (PK_ID, MY_TEXT_COLUMN) VALUES ((SEQ_NAME.nextval), 'hello');
This example increments the 'SEQ_NAME' sequence and uses its value for a new primary key.
Link to documentation or other source
31 May 2019
This example has been recommended 2 times.
Would you recommend this example to your colleagues?