DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `srt`.`expedition_beforeUpdate` BEFORE UPDATE ON `expedition` FOR EACH ROW BEGIN SET NEW.updated = util.VN_NOW(); END$$ DELIMITER ;