MySQL Forums
Forum List  »  Spanish

Problema con Trigger
Posted by: Alejandro Viera
Date: January 27, 2022 09:40PM

Tengo el trigger definido asi, y no me graba en al segunda tabla los campos varchar, que me falta definir para que funcione correctamente?

CREATE DEFINER=`root`@`localhost` TRIGGER `articulos_graba_links` AFTER INSERT ON `articulos` FOR EACH ROW BEGIN
INSERT INTO links(codinterno,codigob,descripcion,MASTER) VALUES(NEW.codinterno,new.codigo,NEW.descripcion,NEW.codigo);
END

Options: ReplyQuote


Subject
Views
Written By
Posted
Problema con Trigger
616
January 27, 2022 09:40PM
111
January 27, 2022 11:21PM
103
January 28, 2022 06:52PM
99
January 28, 2022 11:21PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.