Answers for "alter table to make a column auto increment oracle"

SQL
8

oracle add auto_increment column to existing table

-- Use a sequence:
CREATE SEQUENCE id_seq START WITH 1;
INSERT INTO my_table (ID, VALUE) VALUES (id_seq.NEXTVAL, 'My value');
Posted by: Guest on January-31-2021

Code answers related to "alter table to make a column auto increment oracle"

Code answers related to "SQL"

Browse Popular Code Answers by Language