oracle autoincrement column - ghdrako/doc_snipets GitHub Wiki

od 0racle 12

CREATE SEQUENCE project_seq START WITH 1;
CREATE TABLE projects (
PROJECT_ID NUMBER(10) DEFAULT project_seq.nextval NOT NULL,
etc.