Trigger Informix
Publicado por Marta (1 intervención) el 28/02/2011 12:18:18
Buenos días
Necesitaria una yudita con un trigger.
create trigger "informix".tagetel_update_seg update on "informix".tagetel
referencing old as old new as new
for each row
when ((new.especialista != old.especialista ))
(
execute procedure "informix".pr_actu_agen('CH0034',new.codage)
);
Al forzarlo a que salte me dá el error 744 :
-744 Illegal SQL statement in trigger.
This error is returned when the triggered SQL statement is BEGIN WORK,
COMMIT WORK, ROLLBACK WORK, or SET CONSTRAINTS. These statements are
not allowed as triggered actions. Remove the offending statement
Alguien sabe porque??
Gracias
Necesitaria una yudita con un trigger.
create trigger "informix".tagetel_update_seg update on "informix".tagetel
referencing old as old new as new
for each row
when ((new.especialista != old.especialista ))
(
execute procedure "informix".pr_actu_agen('CH0034',new.codage)
);
Al forzarlo a que salte me dá el error 744 :
-744 Illegal SQL statement in trigger.
This error is returned when the triggered SQL statement is BEGIN WORK,
COMMIT WORK, ROLLBACK WORK, or SET CONSTRAINTS. These statements are
not allowed as triggered actions. Remove the offending statement
Alguien sabe porque??
Gracias
Valora esta pregunta


0