Use a database trigger which populates the auto-number from a sequence e.g.
CREATE OR REPLACE TRIGGER FUND_SERIES_TYPE_PK_AUDIT
BEFORE INSERT
ON FUND_SERIES_TYPE
FOR EACH ROW
-- PL/SQL Block
begin
select fund_series_type_seq_1.nextval, user, sysdate
into :new.fst_num,
:new.update_userid,
:new.update_timestamp
from dual;
end;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.