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
811
January 27, 2022 09:40PM
208
January 27, 2022 11:21PM
219
January 28, 2022 06:52PM
230
January 28, 2022 11:21PM


Sorry, you can't reply to this topic. It has been closed.

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.