Re: Simple Trigger asistance!
Posted by:
Max Molina
Date: August 25, 2016 07:22PM
fixed some errors. it still says syntax failed>
BEGIN
IF NEW.IMHQ_solicitada = 'Si' THEN
INSERT INTO 'imhq' SET INSERT INTO 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;
the delimiter thing is set by phpMyAdmin
Subject
Views
Written By
Posted
1698
August 25, 2016 07:19PM
Re: Simple Trigger asistance!
938
August 25, 2016 07:22PM
878
August 25, 2016 07:24PM
781
August 26, 2016 09:06AM
791
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.