alter table tblname add id integer; create sequence tblname_seq; update tblname set id = tblname_seq.nextval; drop sequence tblname_seq; alter table tblname modify (id serial not null); ALTER TABLE tblname ADD CONSTRAINT PRIMARY KEY (id);
alter table tblname add id integer; create sequence tblname_seq; update tblname set id = tblname_seq.nextval; drop sequence tblname_seq; alter table tblname modify (id serial not null); ALTER TABLE tblname ADD CONSTRAINT PRIMARY KEY (id);
Etiketlerinformix primary key serial sql
CREATE PROCEDURE sp_setseed(n INTEGER) DEFINE GLOBAL seed DECIMAL(10) DEFAULT 1; LET seed = n; END …