标签:acl tar into href ace itsm ext ref nbsp
先创建序列sequence
create sequence S_User
minvalue 1
nomaxvalue -- 或 maxvalue 999
start with 1
increment by 1
cache 20; -- 或 nocache
参考:
然后创建触发器
create or replace trigger trg_user before insert on T_USER for each row
begin
select itsmp.S_User.nextval into :new.UserID from dual;
end;
标签:acl tar into href ace itsm ext ref nbsp
原文地址:http://www.cnblogs.com/jhlong/p/6070619.html