MySQL Forums
Forum List  »  Triggers

Re: Simple Trigger asistance!
Posted by: Max Molina
Date: August 25, 2016 07:24PM

this thing needs an edit post button. Anyways, I fixed a bad copy paster to here, this is the trigger code:

BEGIN
IF NEW.IMHQ_solicitada = 'Si' THEN
INSERT INTO 'imhq' SET imhq SET RECORD_ID = NEW.RECORD_ID, Tipo_de_Estudio = NEW.Tipo_de_Estudio, Año = NEW.Año, Codigo_Interno = NEW.Codigo_Interno,Edad = NEW.Edad, Sexo = NEW.Sexo,Iniciales_del_Px= NEW.Iniciales_del_Px;
END IF;
END;

Options: ReplyQuote


Subject
Views
Written By
Posted
1448
August 25, 2016 07:19PM
806
August 25, 2016 07:22PM
Re: Simple Trigger asistance!
716
August 25, 2016 07:24PM
673
August 26, 2016 09:06AM
659
August 26, 2016 02:45PM


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.