I have this trigger:
DELIMITER @@
CREATE TRIGGER Test_Insert1
AFTER INSERT ON sat_clientLocation
FOR EACH ROW
BEGIN
INSERT INTO syncLoc VALUES (NEW.idOwnApp, NEW.idClient,NEW.idLocation,NEW.idMatca,NEW.numbers,NEW.idTypeLocation,NEW.txLocation,NEW.amLat,NEW.amLong,NEW.idUpdUser,NEW.tmUpdate,NEW.txLocationDtl, NEW.idUser ,NEW.idCustomer ,NEW.idCodeLocation , NEW.radius, NEW.zindex, NEW.amAuxLat, NEW.amAuxLong, NEW.isDelete,0,0);
END;
@@
DELIMITER ;
It works fine for one insert statement, but for import from a file no. I mention that the import file is insert the statements one by one, no from load data.
Thank a lot!