I want to create Oracle trigger in Toad Modeler 5.3. This is the table:
In my case I need to add userID using trigger.
I'm stuck here:
Can you help me what should be the trigger body?
EDIT: Something like this?
create sequence t1_seq start with 1 increment by 1 nomaxvalue;
BEGIN
select t1_seq.nextval into :new.id_increment from dual;
END