You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/utils/kamctl/oracle/inc/_createsch.tmpl

13 lines
251 B

create sequence seq_%DBROOTUSER%
minvalue 1
maxvalue 9999999999999999999999999999
start with 1
increment by 1
cache 20;
create or replace procedure auto_id(fld out number) is
begin
SELECT seq_%DBROOTUSER%.NEXTVAL INTO fld FROM dual;
end auto_id;
/