I get "a trigger created with compilation errors" when I try to execute this. Any help is appreciated!! Where am I going wrong please help.
Thanks
CREATE TRIGGER AAA
AFTER
UPDATE ON B
FOR EACH ROW
insert into B
select i.user_id,i.ticket_seq,i.printed_date,i.signed_date,i.created_by,i.created_on,i.updated_by,i.updated_on,i.ticket_type,
i.ticket_code,i.src_location,i.dest_location,i.src_user_id,i.dest_user_id,i.custodian_xfer,i.src_site_id,i.src_aisle_bin,i.dest_site_id,i.dest_aisle_bin
from NEW i,OLD d
where i.user_id = d.user_id and i.ticket_seq = d.ticket_seq and d.signed_date is null
and i.signed_date is not null
/
Thanks
CREATE TRIGGER AAA
AFTER
UPDATE ON B
FOR EACH ROW
insert into B
select i.user_id,i.ticket_seq,i.printed_date,i.signed_date,i.created_by,i.created_on,i.updated_by,i.updated_on,i.ticket_type,
i.ticket_code,i.src_location,i.dest_location,i.src_user_id,i.dest_user_id,i.custodian_xfer,i.src_site_id,i.src_aisle_bin,i.dest_site_id,i.dest_aisle_bin
from NEW i,OLD d
where i.user_id = d.user_id and i.ticket_seq = d.ticket_seq and d.signed_date is null
and i.signed_date is not null
/