I have a trigger that looks like below:
create trigger theTrig
insert on table_A referencing new as n
for each row(
execute procedure proc_A();
);
May I know how can I pass the new/old reference object into stored proc inside a trigger?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I usually write ‘REFERENCING NEW AS NEW’ and/or ‘REFERENCING OLD AS OLD’ and Informix is quite happy to oblige with the tautologous specification.