Answers for "oracle add auto increment column to existing table"

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 "oracle add auto increment column to existing table"

Code answers related to "SQL"

Browse Popular Code Answers by Language