Answers for "add auto increment column using alter in oracle sql"

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 "add auto increment column using alter in oracle sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language