DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`orderRow_afterInsert` AFTER INSERT ON `orderRow` FOR EACH ROW BEGIN UPDATE `order` SET rowUpdated = util.VN_NOW() WHERE id = NEW.orderFk; END$$ DELIMITER ;