📜  oracle 将 auto_increment 列添加到现有表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:35.796000             🧑  作者: Mango

代码示例1
-- Use a sequence:
CREATE SEQUENCE id_seq START WITH 1;
INSERT INTO my_table (ID, VALUE) VALUES (id_seq.NEXTVAL, 'My value');