SyntaxFix
Write A Post
Hire A Developer
Questions
create trigger t1_trigger before insert on AUDITLOGS for each row begin select t1_seq.nextval into :new.id from dual; end;
only I have to just change the table name (AUDITLOGS) with your table name and new.id with new.column_name